diff options
author | Radek Doulik <rodo@novell.com> | 2011-02-15 15:39:38 +0100 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2011-02-15 15:39:38 +0100 |
commit | 6d16188277d25d81d8ee6b9c99ed15cc7ff3c51d (patch) | |
tree | e51681a4887e7eb203536ec5e48d619f8b76e790 /drawinglayer | |
parent | e9ef21314aa7bb9aaddf9cf99eb8fc702061ac50 (diff) |
fix the condition of whether to use new metafile decomposition
- overlooked that the test bool variable is static
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/processor2d/vclpixelprocessor2d.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx index 18439cef6c87..6b7e977f4f98 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())); |