diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-01 12:11:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-01 13:08:43 +0200 |
commit | c190577f754158c9e3b003a838bc97762e4773e8 (patch) | |
tree | 6b6188cedaa1c055b3293e20b821aab1e3a17849 /xmloff/source/draw/ximp3dscene.hxx | |
parent | loplugin: cstylecast (diff) | |
download | core-c190577f754158c9e3b003a838bc97762e4773e8.tar.gz core-c190577f754158c9e3b003a838bc97762e4773e8.zip |
loplugin: cstylecast
Change-Id: I25b82a96aace448a8debe90c181b22976ea95414
Diffstat (limited to 'xmloff/source/draw/ximp3dscene.hxx')
-rw-r--r-- | xmloff/source/draw/ximp3dscene.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/draw/ximp3dscene.hxx b/xmloff/source/draw/ximp3dscene.hxx index bbdfac75c363..b2fd87275c49 100644 --- a/xmloff/source/draw/ximp3dscene.hxx +++ b/xmloff/source/draw/ximp3dscene.hxx @@ -35,8 +35,8 @@ class SdXML3DSceneShapeContext : public SdXMLShapeContext, public SdXML3DSceneAt // this is the scene at the same time com::sun::star::uno::Reference< com::sun::star::drawing::XShapes > mxChildren; - const SdXMLImport& GetSdImport() const { return (const SdXMLImport&)GetImport(); } - SdXMLImport& GetSdImport() { return (SdXMLImport&)GetImport(); } + const SdXMLImport& GetSdImport() const { return static_cast<const SdXMLImport&>(GetImport()); } + SdXMLImport& GetSdImport() { return static_cast<SdXMLImport&>(GetImport()); } protected: void SetLocalShapesContext(com::sun::star::uno::Reference< com::sun::star::drawing::XShapes >& rNew) |