Kaydet (Commit) fb17e7af authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS thesau01 (1.10.734); FILE MERGED

2005/04/20 20:03:31 ericb 1.10.734.1: i47107 wrong replace suggestion in thesaurus
üst e96f63f6
......@@ -2,9 +2,9 @@
*
* $RCSfile: thesdlg.cxx,v $
*
* $Revision: 1.10 $
* $Revision: 1.11 $
*
* last change: $Author: obo $ $Date: 2004-04-27 15:47:43 $
* last change: $Author: obo $ $Date: 2005-05-03 13:57:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -124,11 +124,14 @@ static void GetReplaceEditString( String &rText )
// inserted into the document. Thus we strip them from the text.
xub_StrLen nPos = rText.Search( sal_Unicode('(') );
if (STRING_NOTFOUND != nPos)
while (STRING_NOTFOUND != nPos)
{
xub_StrLen nEnd = rText.Search( sal_Unicode(')'), nPos );
if (STRING_NOTFOUND != nEnd)
rText.Erase( nPos, nEnd );
rText.Erase( nPos, nEnd-nPos+1 );
else
break;
nPos = rText.Search( sal_Unicode('(') );
}
nPos = rText.Search( sal_Unicode('*') );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment