diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-05 12:05:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-05 12:05:26 +0100 |
commit | d2a90d997abb13fa994de9803a6357eda494a2c3 (patch) | |
tree | 8f77aaf60158abee2f6d204120a09fa4b4c10927 /include | |
parent | 4e77f102e2cfbf72e15ed85a8f5dc3b9a5f6c0ef (diff) |
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: I877e3b362dd8b2f9c94e28d2ffa56c378d0d094e
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdpntv.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx index 21d447431f8c..a1bede091294 100644 --- a/include/svx/svdpntv.hxx +++ b/include/svx/svdpntv.hxx @@ -519,8 +519,8 @@ public: // bei bShow=sal_False wird der Browser destruiert #ifdef DBG_UTIL void ShowItemBrowser(bool bShow=true); - bool IsItemBrowserVisible() const { return pItemBrowser!=NULL && ((vcl::Window*)pItemBrowser)->IsVisible(); } - vcl::Window* GetItemBrowser() const { return (vcl::Window*)pItemBrowser; } + bool IsItemBrowserVisible() const { return pItemBrowser!=NULL && GetItemBrowser()->IsVisible(); } + vcl::Window* GetItemBrowser() const; #endif // Muss von App beim Scrollen usw. gerufen werden, damit ein u.U. |