summaryrefslogtreecommitdiff
path: root/patches/src680/svx.incorrectand.diff
blob: fd3f623faf73b32a5b16989602feaa403972b183 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- svx/source/svdraw/svdfppt.cxx	31 Oct 2006 10:42:25 -0000	1.146.2.1
+++ svx/source/svdraw/svdfppt.cxx	9 Nov 2006 20:41:16 -0000
@@ -4031,7 +4031,7 @@
 	if ( nCMask & ( 1 << PPT_CharAttr_FontColor ) )				// 0x00040000
 	{
 		rIn >> maCharLevel[ nLevel ].mnFontColor;
-		if( ! (maCharLevel[ nLevel ].mnFontColor && 0xff000000 ) )
+		if( ! (maCharLevel[ nLevel ].mnFontColor & 0xff000000 ) )
 			maCharLevel[ nLevel ].mnFontColor = PPT_COLSCHEME_HINTERGRUND;
 	}
 	if ( nCMask & ( 1 << PPT_CharAttr_Escapement ) )			// 0x00080000