View | Details | Raw Unified | Return to issue 119446
Collapse All | Expand All

(-)sw/source/filter/ww8/ww8par5.cxx (-5 / +7 lines)
Lines 986-997 Link Here
986
            aF.nSCode, aF.nLCode, eTextCharSet );
986
            aF.nSCode, aF.nLCode, eTextCharSet );
987
        pStrm->Seek( nOldPos );
987
        pStrm->Seek( nOldPos );
988
988
989
        //comment part of #124725# change since it makes regression of field import. #i119446,#i119585.
990
989
        //#124725# field codes which contain '/' or '.' are not displayed in WinWord
991
        //#124725# field codes which contain '/' or '.' are not displayed in WinWord
990
        if (!aStr.EqualsAscii(" ADDIN", 0, 6) &&
992
        //if (!aStr.EqualsAscii(" ADDIN", 0, 6) &&
991
            (aStr.Search('.') != STRING_NOTFOUND ||
993
        //    (aStr.Search('.') != STRING_NOTFOUND ||
992
             aStr.Search('/') != STRING_NOTFOUND))
994
        //     aStr.Search('/') != STRING_NOTFOUND))
993
            return aF.nLen;
995
        //    return aF.nLen;
994
        else
996
        //else
995
            return aF.nLen - aF.nLRes - 1;  // so viele ueberlesen, das Resultfeld
997
            return aF.nLen - aF.nLRes - 1;  // so viele ueberlesen, das Resultfeld
996
                                            // wird wie Haupttext eingelesen
998
                                            // wird wie Haupttext eingelesen
997
    }
999
    }

Return to issue 119446