diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-15 13:53:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-15 13:57:08 +0200 |
commit | 0ece187f92f9f87ae69b957c498cad8dcce56232 (patch) | |
tree | 1173470f1c2c5d965891f32ff7bff09ec9d778aa /svx/inc/sdr/contact/viewcontactofsdrpathobj.hxx | |
parent | fb7b1f45f9593db2d040dfaa06db0ea60f5308ba (diff) |
loplugin: cstylecast
Change-Id: I0ccdd2ce18336afea67a3f296b26b2de50f14808
Diffstat (limited to 'svx/inc/sdr/contact/viewcontactofsdrpathobj.hxx')
-rw-r--r-- | svx/inc/sdr/contact/viewcontactofsdrpathobj.hxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/svx/inc/sdr/contact/viewcontactofsdrpathobj.hxx b/svx/inc/sdr/contact/viewcontactofsdrpathobj.hxx index ba44fde710ef..c9d03d285913 100644 --- a/svx/inc/sdr/contact/viewcontactofsdrpathobj.hxx +++ b/svx/inc/sdr/contact/viewcontactofsdrpathobj.hxx @@ -21,12 +21,7 @@ #define INCLUDED_SVX_INC_SDR_CONTACT_VIEWCONTACTOFSDRPATHOBJ_HXX #include <svx/sdr/contact/viewcontactoftextobj.hxx> - - -// predeclarations - -class SdrPathObj; - +#include <svx/svdopath.hxx> namespace sdr @@ -37,9 +32,9 @@ namespace sdr { protected: // internal access to SdrPathObj - SdrPathObj& GetPathObj() const + const SdrPathObj& GetPathObj() const { - return (SdrPathObj&)GetSdrObject(); + return static_cast<const SdrPathObj&>(GetSdrObject()); } public: |