summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-05 18:35:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-05 18:35:10 +0100
commitab42bf5656938bb231fa8f3a0f7d14f2f85315a2 (patch)
treedec4b551e84a3f19107dba92880360cf231798be /sd
parent5831405c8cf55fae64e88d1fc139d449e011e003 (diff)
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: I17d20cce0853a7981cf55f560915c57c8325c122
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/tpaction.cxx3
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);
}
}
}