summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-05 08:57:03 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-05 09:10:05 +0100
commit8dbc966794f95cb6000f127a8615333de5cd70ff (patch)
treec594646e436ab19c39ac40e4a42cc567507138f2
parent2f7a386ab2876223da1be73410bf1e7486f724ba (diff)
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: Ibd0cc43ff210ffaae291f4f4467ba8ebe265c446
-rw-r--r--include/toolkit/awt/vclxdevice.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/toolkit/awt/vclxdevice.hxx b/include/toolkit/awt/vclxdevice.hxx
index 3de7931c3d1b..61d568911b38 100644
--- a/include/toolkit/awt/vclxdevice.hxx
+++ b/include/toolkit/awt/vclxdevice.hxx
@@ -26,6 +26,7 @@
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <cppuhelper/weak.hxx>
#include <osl/mutex.hxx>
+#include <vcl/virdev.hxx>
#include <com/sun/star/awt/XUnitConversion.hpp>
@@ -107,7 +108,7 @@ class VCLXVirtualDevice : public VCLXDevice
public:
virtual ~VCLXVirtualDevice();
- void SetVirtualDevice( VirtualDevice* pVDev ) { SetOutputDevice( (OutputDevice*)pVDev ); }
+ void SetVirtualDevice( VirtualDevice* pVDev ) { SetOutputDevice( pVDev ); }
};