summaryrefslogtreecommitdiff
path: root/vcl/inc/generic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-05 11:01:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-05 11:01:02 +0100
commite09cd23cea227fc40110650488c5bd09f72b3a52 (patch)
tree8a30ea97967cb257c6149651ce009b8b877ea93a /vcl/inc/generic
parentbcd4f99e9dafaa41fe9311b32182e73b3b554007 (diff)
loplugin:cstylecast, involving pointer to incomplete type
...though it's unclear to me why loplugin:csytlecast doesn't complain about the C-style cast in GtkData::GetGtkDisplay; needs further investigation. Change-Id: Ie5c42dd2c1c97cf4092b2cb6bafa599cc36daab7
Diffstat (limited to 'vcl/inc/generic')
-rw-r--r--vcl/inc/generic/gendata.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/vcl/inc/generic/gendata.hxx b/vcl/inc/generic/gendata.hxx
index 384c20a55549..6c3422697238 100644
--- a/vcl/inc/generic/gendata.hxx
+++ b/vcl/inc/generic/gendata.hxx
@@ -14,8 +14,6 @@
#include <saldatabasic.hxx>
-// Not the prettiest - but helpful for migrating old code ...
-class GtkSalDisplay;
class SalGenericDisplay;
enum SalGenericDataType { SAL_DATA_GTK, SAL_DATA_GTK3,
@@ -59,12 +57,6 @@ class VCL_DLLPUBLIC SalGenericData : public SalData
// Mostly useful for remote protocol backends
virtual void ErrorTrapPush() = 0;
virtual bool ErrorTrapPop( bool bIgnoreError = true ) = 0; // true on error
-
- // Not the prettiest - but helpful for migrating old code ...
- inline GtkSalDisplay *GetGtkDisplay() const
- {
- return (GtkSalDisplay *)GetDisplay();
- }
};
inline SalGenericData * GetGenericData()