diff options
Diffstat (limited to 'include/svx/svdoedge.hxx')
-rw-r--r-- | include/svx/svdoedge.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdoedge.hxx b/include/svx/svdoedge.hxx index 04351a083b7c..0b93fbc17c77 100644 --- a/include/svx/svdoedge.hxx +++ b/include/svx/svdoedge.hxx @@ -116,7 +116,7 @@ public: {} Point& ImpGetLineVersatzPoint(SdrEdgeLineCode eLineCode); - const Point& ImpGetLineVersatzPoint(SdrEdgeLineCode eLineCode) const { return ((SdrEdgeInfoRec*)this)->ImpGetLineVersatzPoint(eLineCode); } + const Point& ImpGetLineVersatzPoint(SdrEdgeLineCode eLineCode) const { return const_cast<SdrEdgeInfoRec*>(this)->ImpGetLineVersatzPoint(eLineCode); } sal_uInt16 ImpGetPolyIdx(SdrEdgeLineCode eLineCode, const XPolygon& rXP) const; bool ImpIsHorzLine(SdrEdgeLineCode eLineCode, const XPolygon& rXP) const; void ImpSetLineVersatz(SdrEdgeLineCode eLineCode, const XPolygon& rXP, long nVal); |