You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by or...@apache.org on 2012/08/14 17:03:28 UTC

svn commit: r1372915 - /incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par5.cxx

Author: orw
Date: Tue Aug 14 15:03:28 2012
New Revision: 1372915

URL: http://svn.apache.org/viewvc?rev=1372915&view=rev
Log:
#119440# - correction to be warning-free - sal_Unicode is signed on all platforms

         Found by: Pavel Janik

Modified:
    incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par5.cxx

Modified: incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par5.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par5.cxx?rev=1372915&r1=1372914&r2=1372915&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par5.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par5.cxx Tue Aug 14 15:03:28 2012
@@ -2585,7 +2585,7 @@ void SwWW8ImplReader::Read_SubF_Combined
                         for (int i = nBegin;i < nEnd-1;i++)
                         {
                             const sal_Unicode cC = sPart.GetChar(nBegin+1);
-                            if ( (-1 < cC) && (cC < 32) )
+                            if ( cC < 32 )
                             {
                                 nBegin++;
                             }