[Libreoffice-commits] .: drawinglayer/source

Radek Doulík rodo at kemper.freedesktop.org
Tue Feb 15 06:41:41 PST 2011


 drawinglayer/source/processor2d/vclpixelprocessor2d.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2d3672612fb4f4d47116578fd5d1e7fdf44df709
Author: Radek Doulik <rodo at novell.com>
Date:   Tue Feb 15 15:39:38 2011 +0100

    fix the condition of whether to use new metafile decomposition
    
    - overlooked that the test bool variable is static

diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
index ca594c0..402b4ef 100644
--- a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
@@ -231,8 +231,8 @@ namespace drawinglayer
 
                     const primitive2d::MetafilePrimitive2D& rMetafilePrimitive( static_cast< const primitive2d::MetafilePrimitive2D& >(rCandidate) );
 
-                    static bool bTestMetaFilePrimitiveDecomposition( !rMetafilePrimitive.getMetaFile().GetUseCanvas() );
-                    if(bTestMetaFilePrimitiveDecomposition)
+                    static bool bTestMetaFilePrimitiveDecomposition( true );
+                    if( bTestMetaFilePrimitiveDecomposition && !rMetafilePrimitive.getMetaFile().GetUseCanvas() )
                     {
                         // use new Metafile decomposition
                         process(rCandidate.get2DDecomposition(getViewInformation2D()));


More information about the Libreoffice-commits mailing list