summaryrefslogtreecommitdiff
path: root/include/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-26 15:19:06 +0200
committerNoel Grandin <noel@peralex.com>2014-09-29 12:50:35 +0200
commit0ecf6afbd104b53836c7a4d45fbc2a6ce1e356e0 (patch)
treea1253c850347f9df39254fe9cf82b6ebf39d73f0 /include/toolkit
parentc353caee1c86476d98cd483f963f63c4195975f4 (diff)
loplugin: cstylecast
Change-Id: Iea517d2287bded4a702c73dfdd1f182023425d67
Diffstat (limited to 'include/toolkit')
-rw-r--r--include/toolkit/awt/vclxwindow.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/toolkit/awt/vclxwindow.hxx b/include/toolkit/awt/vclxwindow.hxx
index f3f1e133bd53..6306ce6717e3 100644
--- a/include/toolkit/awt/vclxwindow.hxx
+++ b/include/toolkit/awt/vclxwindow.hxx
@@ -23,6 +23,7 @@
#include <toolkit/dllapi.h>
#include <toolkit/awt/vclxdevice.hxx>
#include <toolkit/helper/listenermultiplexer.hxx>
+#include <vcl/window.hxx>
#include <com/sun/star/awt/XWindow2.hpp>
#include <com/sun/star/awt/XVclWindowPeer.hpp>
@@ -46,7 +47,6 @@
#include <list>
#include <boost/function.hpp>
-namespace vcl { class Window; }
class VclSimpleEvent;
class VclWindowEvent;
struct SystemParentData;
@@ -129,7 +129,7 @@ public:
virtual ~VCLXWindow();
virtual void SetWindow( vcl::Window* pWindow );
- vcl::Window* GetWindow() const { return (vcl::Window*)GetOutputDevice(); }
+ vcl::Window* GetWindow() const { return static_cast<vcl::Window*>(GetOutputDevice()); }
void suspendVclEventListening( );
void resumeVclEventListening( );