diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-09-06 14:51:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-09-06 14:51:44 +0200 |
commit | f7dd958ad383c31fe380273d4a59e24fe6fe8caf (patch) | |
tree | 99084f945c2cfa84c72704dfd2cf76b77d943287 /vcl/unx | |
parent | 548ab842a845e1e51922c8928be4ee57c8909146 (diff) |
Work around loplugin:unnecessaryoverride
("public virtual function just calls public parent", in the gtk3 case)
Change-Id: I0d5653f835fe0e62a905943fda7d79538dabfee3
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk/gtkinst.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/unx/gtk/gtkinst.cxx b/vcl/unx/gtk/gtkinst.cxx index 6f82a22b695f..0f624674e452 100644 --- a/vcl/unx/gtk/gtkinst.cxx +++ b/vcl/unx/gtk/gtkinst.cxx @@ -230,6 +230,7 @@ SalObject* GtkInstance::CreateObject( SalFrame* pParent, SystemWindowData* pWind return new GtkSalObject( static_cast<GtkSalFrame*>(pParent), bShow ); } +#if !GTK_CHECK_VERSION(3,0,0) SalI18NImeStatus* GtkInstance::CreateI18NImeStatus() { //we want the default SalInstance::CreateI18NImeStatus returns the no-op @@ -237,6 +238,7 @@ SalI18NImeStatus* GtkInstance::CreateI18NImeStatus() //one would use otherwise return SalInstance::CreateI18NImeStatus(); } +#endif extern "C" { |