summaryrefslogtreecommitdiff
path: root/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-21 08:24:48 +0200
committerNoel Grandin <noel@peralex.com>2014-10-23 12:36:14 +0200
commitcb414252b8d5fcff516291ed4b9db75933e5331a (patch)
tree41011241dd6e3145fb21f8429be56d750a3290f5 /chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
parentc7cacf639d873e33cd98c56a0006d877b132341e (diff)
loplugin: cstylecast
Change-Id: I4aafc170895d8bab47206c7b07b4f1f6105d42d3
Diffstat (limited to 'chart2/source/controller/drawinglayer/DrawViewWrapper.cxx')
-rw-r--r--chart2/source/controller/drawinglayer/DrawViewWrapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
index 578a5631e123..19460512e4e9 100644
--- a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
+++ b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
@@ -257,7 +257,7 @@ SdrObject* DrawViewWrapper::getTextEditObject() const
SdrObject* pObj = this->getSelectedObject();
SdrObject* pTextObj = NULL;
if( pObj && pObj->HasTextEdit())
- pTextObj = (SdrTextObj*)pObj;
+ pTextObj = static_cast<SdrTextObj*>(pObj);
return pTextObj;
}