diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-04 10:00:12 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-04 10:00:12 +0100 |
commit | d7e5ee16069106df4e8f11d7dac598fff33425b8 (patch) | |
tree | c69abcc5a5abe95ec0e4f0bc8d87b3e5db2eff98 /vcl/inc | |
parent | 6bca90dd62fd10068ad59302f5d918384d8749d7 (diff) |
vcl (Linux): loplugin:cstylecast
Change-Id: I7ad80af29d094348f07c9a6b69e160ae5b0b8916
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/generic/gendata.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/inc/generic/gendata.hxx b/vcl/inc/generic/gendata.hxx index 334193d402a5..6cd17b26ca86 100644 --- a/vcl/inc/generic/gendata.hxx +++ b/vcl/inc/generic/gendata.hxx @@ -11,12 +11,12 @@ #define INCLUDED_VCL_INC_GENERIC_GENDATA_HXX #include <osl/socket.hxx> -#include <saldatabasic.hxx> -class SalGenericDisplay; +#include <generic/gendisp.hxx> +#include <saldatabasic.hxx> +#include <unx/saldisp.hxx> // Not the prettiest - but helpful for migrating old code ... -class SalDisplay; class GtkSalDisplay; enum SalGenericDataType { SAL_DATA_GTK, SAL_DATA_GTK3, SAL_DATA_TDE3, SAL_DATA_KDE3, SAL_DATA_KDE4, @@ -64,7 +64,7 @@ class VCL_DLLPUBLIC SalGenericData : public SalData inline SalDisplay *GetSalDisplay() const { OSL_ASSERT( m_eType != SAL_DATA_GTK3 ); - return (SalDisplay *)GetDisplay(); + return static_cast<SalDisplay *>(GetDisplay()); } inline GtkSalDisplay *GetGtkDisplay() const { |