diff options
Diffstat (limited to 'drawinglayer/source/tools/converters.cxx')
-rw-r--r-- | drawinglayer/source/tools/converters.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/tools/converters.cxx b/drawinglayer/source/tools/converters.cxx index 62de9ec5aac0..3f601f84d47a 100644 --- a/drawinglayer/source/tools/converters.cxx +++ b/drawinglayer/source/tools/converters.cxx @@ -101,7 +101,7 @@ namespace drawinglayer if(bDoSaveForVisualControl) { SvFileStream aNew("c:\\test_content.png", StreamMode::WRITE|StreamMode::TRUNC); - BitmapEx aContentEx = BitmapEx(aContent); + BitmapEx aContentEx(aContent); vcl::PNGWriter aPNGWriter(aContentEx); aPNGWriter.Write(aNew); } @@ -132,7 +132,7 @@ namespace drawinglayer if(bDoSaveForVisualControl) { SvFileStream aNew("c:\\test_alpha.png", StreamMode::WRITE|StreamMode::TRUNC); - BitmapEx aAlphaEx = BitmapEx(aAlpha); + BitmapEx aAlphaEx(aAlpha); vcl::PNGWriter aPNGWriter(aAlphaEx); aPNGWriter.Write(aNew); } |