diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-05 18:35:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-05 18:35:10 +0100 |
commit | ab42bf5656938bb231fa8f3a0f7d14f2f85315a2 (patch) | |
tree | dec4b551e84a3f19107dba92880360cf231798be /sd | |
parent | 5831405c8cf55fae64e88d1fc139d449e011e003 (diff) |
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: I17d20cce0853a7981cf55f560915c57c8325c122
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/tpaction.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/tpaction.cxx b/sd/source/ui/dlg/tpaction.cxx index b07f8b3bc207..f7c49377762b 100644 --- a/sd/source/ui/dlg/tpaction.cxx +++ b/sd/source/ui/dlg/tpaction.cxx @@ -37,6 +37,7 @@ #include <osl/file.hxx> #include <sfx2/app.hxx> #include <unotools/pathoptions.hxx> +#include <svx/svdograf.hxx> #include <svx/svdpagv.hxx> #include <unotools/localfilehelper.hxx> #include <svl/aeitem.hxx> @@ -192,7 +193,7 @@ void SdTPAction::Construct() } else if (nInv == SdrInventor && nSdrObjKind == OBJ_GRAF) { - pGrafObj = (SdrGrafObj*) pObj; + pGrafObj = static_cast<SdrGrafObj*>(pObj); } } } |