diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-05 17:55:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-05 17:55:01 +0100 |
commit | cf6445c16a8fe7e8fb43a7ffdc4fbcdd753209bb (patch) | |
tree | 9f9a0150ac0ef41ab28e5e67724ba48e4b8b1bdd /sd/source/ui/func | |
parent | dd40936c9ccb76c17eac038eda4aa142ed13b129 (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.cxx | 3 |
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() ) |