summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-09-22 08:31:27 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-09-22 08:31:41 +0200
commit13faec80401adda88669fc84a09feee0b6f6f3ca (patch)
tree46c73f845cfaf98be6a626c52a4e9be85fdc44d5
parent687240f4b50ca18adbfeedd4195f13f62f51994a (diff)
Fixed remaining ByteString::SearchAndReplace in dbg level > 1
-rw-r--r--sw/source/core/layout/dbg_lay.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/layout/dbg_lay.cxx b/sw/source/core/layout/dbg_lay.cxx
index bb79020b893b..c7780cda5355 100644
--- a/sw/source/core/layout/dbg_lay.cxx
+++ b/sw/source/core/layout/dbg_lay.cxx
@@ -340,8 +340,7 @@ SwImplProtocol::~SwImplProtocol()
void SwImplProtocol::CheckLine( ByteString& rLine )
{
rLine = rLine.ToLowerAscii(); // Gross/Kleinschreibung ist einerlei
- while( STRING_LEN > rLine.SearchAndReplace( '\t', ' ' ) )
- ; //nothing // Tabs werden durch Blanks ersetzt
+ rLine.SearchAndReplaceAll( '\t', ' ' );
if( '#' == rLine.GetChar(0) ) // Kommentarzeilen beginnen mit '#'
return;
if( '[' == rLine.GetChar(0) ) // Bereiche: FrmIds, Typen oder Funktionen