[Libreoffice-commits] core.git: svx/source
Stephan Bergmann
sbergman at redhat.com
Fri Dec 5 03:10:16 PST 2014
svx/source/svdraw/svddrgv.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 06e8e1574ef743cb565d01ada8381cf6a9881e82
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Dec 5 12:09:44 2014 +0100
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: I901ab5100e3f4fa2089bb85de1293207225d1adc
diff --git a/svx/source/svdraw/svddrgv.cxx b/svx/source/svdraw/svddrgv.cxx
index 1bf74e5..0500402 100644
--- a/svx/source/svdraw/svddrgv.cxx
+++ b/svx/source/svdraw/svddrgv.cxx
@@ -19,6 +19,7 @@
#include <svx/svddrgv.hxx>
+#include <svx/svdview.hxx>
#include "svx/xattr.hxx"
#include <svx/xpoly.hxx>
#include <svx/svdetc.hxx>
@@ -235,7 +236,7 @@ bool SdrDragView::BegDragObj(const Point& rPnt, OutputDevice* pOut, SdrHdl* pHdl
aDragStat.Reset(pHdl->GetPos());
}
- aDragStat.SetView((SdrView*)this);
+ aDragStat.SetView(static_cast<SdrView*>(this));
aDragStat.SetPageView(pMarkedPV); // <<-- DragPV has to go here!!!
aDragStat.SetMinMove(ImpGetMinMovLogic(nMinMov,pOut));
aDragStat.SetHdl(pHdl);
More information about the Libreoffice-commits
mailing list