[Libreoffice-commits] .: sal/rtl

Caolán McNamara caolan at kemper.freedesktop.org
Wed Dec 21 07:53:30 PST 2011


 sal/rtl/source/strtmpl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 458a7c2c7dc5ce082bddcc953ab57a9506206f18
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Dec 21 15:53:23 2011 +0000

    WaE: add a space to tell SLED-11 gcc that we know what we're doing

diff --git a/sal/rtl/source/strtmpl.cxx b/sal/rtl/source/strtmpl.cxx
index 93f9133..f8220b2 100644
--- a/sal/rtl/source/strtmpl.cxx
+++ b/sal/rtl/source/strtmpl.cxx
@@ -106,7 +106,7 @@ sal_Int32 SAL_CALL IMPL_RTL_STRNAME( compare_WithLength )( const IMPL_RTL_STRCOD
 
     --pStr1;
     --pStr2;
-    while( (--nCount >= 0) && (*++pStr1 == *++pStr2) );
+    while( (--nCount >= 0) && (*++pStr1 == *++pStr2) ) ;
 
     if( nCount >= 0 )
         nRet = ((sal_Int32)(IMPL_RTL_USTRCODE( *pStr1 )))


More information about the Libreoffice-commits mailing list