diff options
Diffstat (limited to 'cppcanvas/source/wrapper/vclfactory.cxx')
-rw-r--r-- | cppcanvas/source/wrapper/vclfactory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppcanvas/source/wrapper/vclfactory.cxx b/cppcanvas/source/wrapper/vclfactory.cxx index a750b2e88066..825368859d1e 100644 --- a/cppcanvas/source/wrapper/vclfactory.cxx +++ b/cppcanvas/source/wrapper/vclfactory.cxx @@ -45,7 +45,7 @@ namespace cppcanvas SpriteCanvasSharedPtr VCLFactory::createSpriteCanvas( const vcl::Window& rVCLWindow ) { return std::make_shared<internal::ImplSpriteCanvas>( - rVCLWindow.GetSpriteCanvas() ); + rVCLWindow.GetOutDev()->GetSpriteCanvas() ); } SpriteCanvasSharedPtr VCLFactory::createSpriteCanvas( const uno::Reference< rendering::XSpriteCanvas >& xCanvas ) |