sd/source/ui/dlg/tpaction.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit ab42bf5656938bb231fa8f3a0f7d14f2f85315a2
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Fri Dec 5 18:35:10 2014 +0100

    loplugin:cstylecast, involving pointer to incomplete type
    
    Change-Id: I17d20cce0853a7981cf55f560915c57c8325c122

diff --git a/sd/source/ui/dlg/tpaction.cxx b/sd/source/ui/dlg/tpaction.cxx
index b07f8b3..f7c4937 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);
             }
         }
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to