[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Fri Jan 23 06:40:22 PST 2015


 sw/source/filter/html/parcss1.cxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit af017ac50aeaef3a55e25ed2283dbf0d116a1968
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jan 23 14:37:49 2015 +0000

    make writer build again
    
    Change-Id: I4faa2cfe0527a14d7e331d1d6f495c5013c2c198

diff --git a/sw/source/filter/html/parcss1.cxx b/sw/source/filter/html/parcss1.cxx
index 637362d..e20424c 100644
--- a/sw/source/filter/html/parcss1.cxx
+++ b/sw/source/filter/html/parcss1.cxx
@@ -145,7 +145,7 @@ CSS1Token CSS1Parser::GetNextToken()
                 if (comphelper::string::isalphaAscii(cNextCh))
                 {
                     // den naechsten Identifer scannen
-                    OUStringBuffer sTmpBuffer( 32L );
+                    OUStringBuffer sTmpBuffer(32);
                     do {
                         sTmpBuffer.append( cNextCh );
                         cNextCh = GetNextChar();
@@ -241,7 +241,7 @@ CSS1Token CSS1Parser::GetNextToken()
                 if( 'i'==cNextCh || 'I'==cNextCh)
                 {
                     // den naechsten Identifer scannen
-                    OUStringBuffer sTmpBuffer( 32L );
+                    OUStringBuffer sTmpBuffer(32);
                     do {
                         sTmpBuffer.append( cNextCh );
                         cNextCh = GetNextChar();
@@ -385,7 +385,7 @@ CSS1Token CSS1Parser::GetNextToken()
 
                         // den naechsten Identifer scannen
                         OUString aIdent;
-                        OUStringBuffer sTmpBuffer2( 64L );
+                        OUStringBuffer sTmpBuffer2(64);
                         do {
                             sTmpBuffer2.append( cNextCh );
                             cNextCh = GetNextChar();
@@ -535,7 +535,7 @@ CSS1Token CSS1Parser::GetNextToken()
                 bool bEOFSave = bEOF;
 
                 // erstmal versuchen eine Hex-Zahl zu scannen
-                OUStringBuffer sTmpBuffer( 6L );
+                OUStringBuffer sTmpBuffer(6);
                 do {
                     sTmpBuffer.append( cNextCh );
                     cNextCh = GetNextChar();
@@ -591,7 +591,7 @@ CSS1Token CSS1Parser::GetNextToken()
                 bool bHexColor = true;
 
                 // den naechsten Identifer scannen
-                OUStringBuffer sTmpBuffer( 64L );
+                OUStringBuffer sTmpBuffer(64);
                 do {
                     sTmpBuffer.append( cNextCh );
                     if( bHexColor )
@@ -621,7 +621,7 @@ CSS1Token CSS1Parser::GetNextToken()
                        aToken.equalsIgnoreAsciiCase( "rgb" )) ) )
                 {
                     int nNestCnt = 0;
-                    OUStringBuffer sTmpBuffer2( 64L );
+                    OUStringBuffer sTmpBuffer2(64);
                     do {
                         sTmpBuffer2.append( cNextCh );
                         switch( cNextCh )


More information about the Libreoffice-commits mailing list