summaryrefslogtreecommitdiff
path: root/include/cppcanvas
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 /include/cppcanvas
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 'include/cppcanvas')
-rw-r--r--include/cppcanvas/vclfactory.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/cppcanvas/vclfactory.hxx b/include/cppcanvas/vclfactory.hxx
index 3b2b49826393..cb42627114ff 100644
--- a/include/cppcanvas/vclfactory.hxx
+++ b/include/cppcanvas/vclfactory.hxx
@@ -43,6 +43,7 @@ class Animation;
namespace com { namespace sun { namespace star { namespace rendering
{
+ class XCanvas;
class XBitmapCanvas;
class XSpriteCanvas;
} } } }
@@ -64,7 +65,9 @@ namespace cppcanvas
public:
static VCLFactory& getInstance();
- BitmapCanvasSharedPtr createCanvas( const ::com::sun::star::uno::Reference<
+ CanvasSharedPtr createCanvas( const ::com::sun::star::uno::Reference<
+ ::com::sun::star::rendering::XCanvas >& xCanvas );
+ BitmapCanvasSharedPtr createBitmapCanvas( const ::com::sun::star::uno::Reference<
::com::sun::star::rendering::XBitmapCanvas >& xCanvas );
SpriteCanvasSharedPtr createSpriteCanvas( const ::Window& rVCLWindow ) const;