diff options
author | Thorsten Behrens <thb@documentfoundation.org> | 2013-11-29 18:26:48 +0100 |
---|---|---|
committer | Thorsten Behrens <thb@documentfoundation.org> | 2013-11-29 18:26:48 +0100 |
commit | 05d2994c136650deca2d80fedf6b14d10109986e (patch) | |
tree | bfb5687dc226091d14b59f1100d0bc82e61bf296 /cppcanvas/source/wrapper/vclfactory.cxx | |
parent | 1b10205c2cb952ab43e30706c05f78d6e8f642c3 (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/wrapper/vclfactory.cxx')
-rw-r--r-- | cppcanvas/source/wrapper/vclfactory.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cppcanvas/source/wrapper/vclfactory.cxx b/cppcanvas/source/wrapper/vclfactory.cxx index a24025e34f4e..d27afa18099d 100644 --- a/cppcanvas/source/wrapper/vclfactory.cxx +++ b/cppcanvas/source/wrapper/vclfactory.cxx @@ -59,7 +59,13 @@ namespace cppcanvas { } - BitmapCanvasSharedPtr VCLFactory::createCanvas( const uno::Reference< rendering::XBitmapCanvas >& xCanvas ) + CanvasSharedPtr VCLFactory::createCanvas( const uno::Reference< rendering::XCanvas >& xCanvas ) + { + return CanvasSharedPtr( + new internal::ImplCanvas( xCanvas ) ); + } + + BitmapCanvasSharedPtr VCLFactory::createBitmapCanvas( const uno::Reference< rendering::XBitmapCanvas >& xCanvas ) { return BitmapCanvasSharedPtr( new internal::ImplBitmapCanvas( xCanvas ) ); |