diff options
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); } } } |