You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by hd...@apache.org on 2013/04/26 15:40:56 UTC

svn commit: r1476192 - /openoffice/trunk/main/filter/source/msfilter/msdffimp.cxx

Author: hdu
Date: Fri Apr 26 13:40:56 2013
New Revision: 1476192

URL: http://svn.apache.org/r1476192
Log:
WaE: fix suspicious assignment

Modified:
    openoffice/trunk/main/filter/source/msfilter/msdffimp.cxx

Modified: openoffice/trunk/main/filter/source/msfilter/msdffimp.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/filter/source/msfilter/msdffimp.cxx?rev=1476192&r1=1476191&r2=1476192&view=diff
==============================================================================
--- openoffice/trunk/main/filter/source/msfilter/msdffimp.cxx (original)
+++ openoffice/trunk/main/filter/source/msfilter/msdffimp.cxx Fri Apr 26 13:40:56 2013
@@ -2889,7 +2889,7 @@ void DffPropertyReader::ImportGradientCo
 		nChgColors ^= 1;
 	else if ( nFocus < 0 )//If it is a negative focus, the color will be swapped
 	{
-		nFocus =- nFocus;
+		nFocus = -nFocus;
 		nChgColors ^= 1;
 	}