summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-07-11 09:19:59 +0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-07-11 09:32:08 +0200
commitd01e35e1203c85334c504ea7b313db199973c7ae (patch)
tree81863a6bde8aa05eedcf944c9578a514d40c65e7 /filter
parentAllow to move only callout handle with shift key (cp#1000084) (diff)
downloadcore-d01e35e1203c85334c504ea7b313db199973c7ae.tar.gz
core-d01e35e1203c85334c504ea7b313db199973c7ae.zip
Clean up usage of 'this' and constness.
Change-Id: I35085bebdec47598a5f927924b429b02b44c0e65
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/msdffimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 66e49fd338e0..fa8672fc9c9e 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -4601,7 +4601,7 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r
Point aRight( aLeft.X() + 1000, aLeft.Y() );
pRet->NbcMirror( aLeft, aRight );
}
- basegfx::B2DPolyPolygon aPoly( SdrObjCustomShape::GetLineGeometry( (SdrObjCustomShape*)pRet, true ) );
+ basegfx::B2DPolyPolygon aPoly( static_cast<SdrObjCustomShape*>(pRet)->GetLineGeometry( true ) );
SdrObject::Free( pRet );
pRet = new SdrEdgeObj();