summaryrefslogtreecommitdiff
path: root/cppcanvas/source/uno/uno_mtfrenderer.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <thb@documentfoundation.org>2013-11-29 18:26:48 +0100
committerThorsten Behrens <thb@documentfoundation.org>2013-11-29 18:26:48 +0100
commit05d2994c136650deca2d80fedf6b14d10109986e (patch)
treebfb5687dc226091d14b59f1100d0bc82e61bf296 /cppcanvas/source/uno/uno_mtfrenderer.cxx
parent1b10205c2cb952ab43e30706c05f78d6e8f642c3 (diff)
Further XCanvas != XBitmapCanvas cleanup.
It seems I missed a few places in 21ec9beae29b19b8ec6f0a16fd0e708e4f210208, getting that straight now hopefully. Change-Id: I34fc8df2d1ee65bef0639b3de9487ff311bed89a
Diffstat (limited to 'cppcanvas/source/uno/uno_mtfrenderer.cxx')
-rw-r--r--cppcanvas/source/uno/uno_mtfrenderer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppcanvas/source/uno/uno_mtfrenderer.cxx b/cppcanvas/source/uno/uno_mtfrenderer.cxx
index 63271d7940df..8fa7199933ca 100644
--- a/cppcanvas/source/uno/uno_mtfrenderer.cxx
+++ b/cppcanvas/source/uno/uno_mtfrenderer.cxx
@@ -23,7 +23,7 @@ void MtfRenderer::draw (double fScaleX, double fScaleY) throw (uno::RuntimeExcep
{
if (mpMetafile && mxCanvas.get()) {
cppcanvas::VCLFactory& factory = cppcanvas::VCLFactory::getInstance();
- cppcanvas::BitmapCanvasSharedPtr canvas = factory.createCanvas (mxCanvas);
+ cppcanvas::BitmapCanvasSharedPtr canvas = factory.createBitmapCanvas (mxCanvas);
cppcanvas::RendererSharedPtr renderer = factory.createRenderer (canvas, *mpMetafile, cppcanvas::Renderer::Parameters ());
::basegfx::B2DHomMatrix aMatrix;
aMatrix.scale( fScaleX, fScaleY );