diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-02-12 13:26:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-02-12 13:26:00 +0100 |
commit | a10e04170d045ceb24fe9323b1b6e44544a3d893 (patch) | |
tree | 2149c9cad3baca6de47c560307f8f33e11a66c34 /vcl | |
parent | dc0f901190da6ab3d95c6008e947684ab36a4f2a (diff) |
-Werror,-Wunused-function
Change-Id: I8bed7d76a76a1fd5cd71731a8dbff19f29fd2854
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx index 1963636d50ab..4f103ae0504b 100644 --- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx @@ -1749,11 +1749,6 @@ static inline ::Color getColor( const GdkRGBA& rCol ) return ::Color( (int)(rCol.red * 0xFFFF) >> 8, (int)(rCol.green * 0xFFFF) >> 8, (int)(rCol.blue * 0xFFFF) >> 8 ); } -static inline ::Color getColorFromColor( const GdkColor& rCol ) -{ - return ::Color( rCol.red >> 8, rCol.green >> 8, rCol.blue >> 8 ); -} - void GtkSalGraphics::updateSettings( AllSettings& rSettings ) { GtkStyleContext* pStyle = gtk_widget_get_style_context( mpWindow ); |