incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pavelja...@apache.org
Subject svn commit: r1400212 - /incubator/ooo/trunk/main/svx/source/xoutdev/_xoutbmp.cxx
Date Fri, 19 Oct 2012 18:35:44 GMT
Author: paveljanik
Date: Fri Oct 19 18:35:43 2012
New Revision: 1400212

URL: http://svn.apache.org/viewvc?rev=1400212&view=rev
Log:
Fix compile error.

Modified:
    incubator/ooo/trunk/main/svx/source/xoutdev/_xoutbmp.cxx

Modified: incubator/ooo/trunk/main/svx/source/xoutdev/_xoutbmp.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/svx/source/xoutdev/_xoutbmp.cxx?rev=1400212&r1=1400211&r2=1400212&view=diff
==============================================================================
--- incubator/ooo/trunk/main/svx/source/xoutdev/_xoutbmp.cxx (original)
+++ incubator/ooo/trunk/main/svx/source/xoutdev/_xoutbmp.cxx Fri Oct 19 18:35:43 2012
@@ -611,9 +611,9 @@ Bitmap XOutBitmap::DetectEdges( const Bi
 						nSum2 -= lGray;
 
 						if( ( nSum1 * nSum1 + nSum2 * nSum2 ) < lThres2 )
-							pWriteAcc->SetPixelIndex( nY1, nXDst, nWhiteIdx );
+							pWriteAcc->SetPixelIndex( nY1, nXDst, nWhitePalIdx );
 						else
-							pWriteAcc->SetPixelIndex( nY1, nXDst, nBlackIdx );
+							pWriteAcc->SetPixelIndex( nY1, nXDst, nBlackPalIdx );
 					}
 				}
 



Mime
View raw message