summaryrefslogtreecommitdiffstats
path: root/xmloff/source/draw/ximp3dscene.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-01 12:11:52 +0200
committerNoel Grandin <noel@peralex.com>2014-10-01 13:08:43 +0200
commitc190577f754158c9e3b003a838bc97762e4773e8 (patch)
tree6b6188cedaa1c055b3293e20b821aab1e3a17849 /xmloff/source/draw/ximp3dscene.hxx
parentloplugin: cstylecast (diff)
downloadcore-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.hxx4
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)