[Libreoffice-commits] .: sw/source
Cédric Bosdonnat
cbosdo at kemper.freedesktop.org
Wed Sep 21 23:31:52 PDT 2011
sw/source/core/layout/dbg_lay.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 13faec80401adda88669fc84a09feee0b6f6f3ca
Author: Cédric Bosdonnat <cedric.bosdonnat.ooo at free.fr>
Date: Thu Sep 22 08:31:27 2011 +0200
Fixed remaining ByteString::SearchAndReplace in dbg level > 1
diff --git a/sw/source/core/layout/dbg_lay.cxx b/sw/source/core/layout/dbg_lay.cxx
index bb79020..c7780cd 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
More information about the Libreoffice-commits
mailing list