diff options
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 { |