[Libreoffice-commits] core.git: vcl/unx

Stephan Bergmann sbergman at redhat.com
Fri Feb 12 12:26:27 UTC 2016


 vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit a10e04170d045ceb24fe9323b1b6e44544a3d893
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Feb 12 13:26:00 2016 +0100

    -Werror,-Wunused-function
    
    Change-Id: I8bed7d76a76a1fd5cd71731a8dbff19f29fd2854

diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index 1963636d..4f103ae 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 );


More information about the Libreoffice-commits mailing list