summaryrefslogtreecommitdiff
path: root/cppcanvas/source/wrapper/vclfactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppcanvas/source/wrapper/vclfactory.cxx')
-rw-r--r--cppcanvas/source/wrapper/vclfactory.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/cppcanvas/source/wrapper/vclfactory.cxx b/cppcanvas/source/wrapper/vclfactory.cxx
index f013aef5b92c..3cf795fe0c42 100644
--- a/cppcanvas/source/wrapper/vclfactory.cxx
+++ b/cppcanvas/source/wrapper/vclfactory.cxx
@@ -55,9 +55,7 @@ namespace cppcanvas
{
return SpriteCanvasSharedPtr(
new internal::ImplSpriteCanvas(
- uno::Reference< rendering::XSpriteCanvas >(
- rVCLWindow.GetSpriteCanvas(),
- uno::UNO_QUERY) ) );
+ rVCLWindow.GetSpriteCanvas() ) );
}
SpriteCanvasSharedPtr VCLFactory::createSpriteCanvas( const uno::Reference< rendering::XSpriteCanvas >& xCanvas )