diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-05 22:54:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-07 15:18:05 +0100 |
commit | 312653feaccbedb84c4e7d36a30aabc3d8eaaa28 (patch) | |
tree | e72d209147de5c25736461b24e4567e6b6d0d473 /sw/source | |
parent | 5c3f46cc298d0e8dd24fa9d482110f898cc19201 (diff) |
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: I125a820a8b94d6e3233b594c7db7aabe7bfd04da
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/uibase/inc/view.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/view.hxx b/sw/source/uibase/inc/view.hxx index cc2948642478..64b8dc9a8735 100644 --- a/sw/source/uibase/inc/view.hxx +++ b/sw/source/uibase/inc/view.hxx @@ -28,6 +28,7 @@ #include <sfx2/objsh.hxx> #include <editeng/svxenum.hxx> #include <sfx2/zoomitem.hxx> +#include <svx/ruler.hxx> #include <svx/svxids.hrc> #include <svx/fmshell.hxx> #include <editeng/editstat.hxx> @@ -510,11 +511,11 @@ public: int CreateTab(); int KillTab(); - bool StatVRuler() const { return ((vcl::Window*)m_pVRuler)->IsVisible(); } + bool StatVRuler() const { return m_pVRuler->IsVisible(); } void ChangeVRulerMetric(FieldUnit eUnit); void GetVRulerMetric(FieldUnit& rToFill) const; - bool StatTab() const { return ((vcl::Window*)m_pHRuler)->IsVisible(); } + bool StatTab() const { return m_pHRuler->IsVisible(); } SvxRuler& GetHRuler() { return *m_pHRuler; } SvxRuler& GetVRuler() { return *m_pVRuler; } void InvalidateRulerPos(); |