diff options
-rw-r--r-- | oox/source/shape/ShapeContextHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/shape/ShapeContextHandler.cxx b/oox/source/shape/ShapeContextHandler.cxx index 7e6a217bbcbd..6ddce1cdcbc4 100644 --- a/oox/source/shape/ShapeContextHandler.cxx +++ b/oox/source/shape/ShapeContextHandler.cxx @@ -476,7 +476,7 @@ ShapeContextHandler::getShape() throw (uno::RuntimeException, std::exception) } else if (mxWpsContext.is()) { - ShapePtr pShape = dynamic_cast<WpsContext*>(mxWpsContext.get())->getShape(); + ShapePtr pShape = dynamic_cast<WpsContext&>(*mxWpsContext.get()).getShape(); if (pShape) { basegfx::B2DHomMatrix aMatrix; |