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

Stephan Bergmann sbergman at redhat.com
Mon Oct 26 09:34:02 PDT 2015


 vcl/unx/gtk/window/gtksalframe.cxx |    9 ---------
 1 file changed, 9 deletions(-)

New commits:
commit beb20a4f37ca418c7a643c9e3f41961985936d56
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Oct 26 17:33:40 2015 +0100

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

diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index fa6a31b..95a33f0 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -1645,15 +1645,6 @@ void GtkSalFrame::SetTitle( const OUString& rTitle )
         gtk_window_set_title( GTK_WINDOW(m_pWindow), OUStringToOString( rTitle, RTL_TEXTENCODING_UTF8 ).getStr() );
 }
 
-static inline sal_uInt8 *
-getRow( BitmapBuffer *pBuffer, sal_uLong nRow )
-{
-    if( BMP_SCANLINE_ADJUSTMENT( pBuffer->mnFormat ) == BMP_FORMAT_TOP_DOWN )
-        return pBuffer->mpBits + nRow * pBuffer->mnScanlineSize;
-    else
-        return pBuffer->mpBits + ( pBuffer->mnHeight - nRow - 1 ) * pBuffer->mnScanlineSize;
-}
-
 void GtkSalFrame::SetIcon( sal_uInt16 nIcon )
 {
     if( (m_nStyle & (SalFrameStyleFlags::PLUG|SalFrameStyleFlags::SYSTEMCHILD|SalFrameStyleFlags::FLOAT|SalFrameStyleFlags::INTRO|SalFrameStyleFlags::OWNERDRAWDECORATION))


More information about the Libreoffice-commits mailing list