[Libreoffice-commits] .: vcl/source
Radek DoulÃk
rodo at kemper.freedesktop.org
Tue Feb 15 08:22:34 PST 2011
vcl/source/gdi/gdimtf.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bb6e3a77426bd8815760f6a46914dfc3568527cb
Author: Radek Doulik <rodo at novell.com>
Date: Tue Feb 15 17:19:24 2011 +0100
clean the code a bit
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx
index 41e1227..8bef829 100644
--- a/vcl/source/gdi/gdimtf.cxx
+++ b/vcl/source/gdi/gdimtf.cxx
@@ -437,7 +437,7 @@ void GDIMetaFile::Play( GDIMetaFile& rMtf, ULONG nPos )
MetaAction* pAction = GetCurAction();
const ULONG nObjCount = Count();
- rMtf.UseCanvas( rMtf.GetUseCanvas() | bUseCanvas );
+ rMtf.UseCanvas( rMtf.GetUseCanvas() || bUseCanvas );
if( nPos > nObjCount )
nPos = nObjCount;
More information about the Libreoffice-commits
mailing list