summaryrefslogtreecommitdiff
path: root/sd/source/ui/func
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-05 17:55:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-05 17:55:01 +0100
commitcf6445c16a8fe7e8fb43a7ffdc4fbcdd753209bb (patch)
tree9f9a0150ac0ef41ab28e5e67724ba48e4b8b1bdd /sd/source/ui/func
parentdd40936c9ccb76c17eac038eda4aa142ed13b129 (diff)
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: I343572353b80eab8e6a2e4dacba0c4880048f380
Diffstat (limited to 'sd/source/ui/func')
-rw-r--r--sd/source/ui/func/fudraw.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/func/fudraw.cxx b/sd/source/ui/func/fudraw.cxx
index e5e327afeca9..e375341d18e8 100644
--- a/sd/source/ui/func/fudraw.cxx
+++ b/sd/source/ui/func/fudraw.cxx
@@ -23,6 +23,7 @@
#include <editeng/flditem.hxx>
#include <svx/svdogrp.hxx>
+#include <svx/svdoole2.hxx>
#include <tools/urlobj.hxx>
#include <vcl/help.hxx>
#include <svx/bmpmask.hxx>
@@ -720,7 +721,7 @@ void FuDraw::DoubleClick(const MouseEvent& rMEvt)
/**********************************************************
* activate OLE-object
**********************************************************/
- mpViewShell->ActivateObject( (SdrOle2Obj*) pObj, 0);
+ mpViewShell->ActivateObject( static_cast<SdrOle2Obj*>(pObj), 0);
}
}
else if (nInv == SdrInventor && nSdrObjKind == OBJ_GRAF && pObj->IsEmptyPresObj() )