summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdmrkv1.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-29 12:04:55 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-29 12:04:55 +0200
commit5dc811daf9ea03dfccabec3a80a44bd12fa62d66 (patch)
treee7669cff7fa3f5cedd1e73b5c1c8e15cb94d2f49 /svx/source/svdraw/svdmrkv1.cxx
parent58389480b74ccb181d2c14a3e74bc173ff30f997 (diff)
loplugin:redundantcast: const_cast to same type
Change-Id: I226413abb1e87fcb9de21a496b359dd7ef33761d
Diffstat (limited to 'svx/source/svdraw/svdmrkv1.cxx')
-rw-r--r--svx/source/svdraw/svdmrkv1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdmrkv1.cxx b/svx/source/svdraw/svdmrkv1.cxx
index 080a8fcc506d..7935072d7cf3 100644
--- a/svx/source/svdraw/svdmrkv1.cxx
+++ b/svx/source/svdraw/svdmrkv1.cxx
@@ -475,7 +475,7 @@ bool SdrMarkView::PickGluePoint(const Point& rPnt, SdrObject*& rpObj, sal_uInt16
if (!IsGluePointEditMode()) return false;
bool bBack(nOptions & SdrSearchOptions::BACKWARD);
bool bNext(nOptions & SdrSearchOptions::NEXT);
- OutputDevice* pOut=const_cast<OutputDevice*>(pActualOutDev.get());
+ OutputDevice* pOut=pActualOutDev.get();
if (pOut==NULL) pOut=GetFirstOutputDevice();
if (pOut==NULL) return false;
SortMarkedObjects();