diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-26 17:33:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-26 17:33:40 +0100 |
commit | beb20a4f37ca418c7a643c9e3f41961985936d56 (patch) | |
tree | 30943f5b685557530f5869f176cb750115e5734c /vcl/unx/gtk | |
parent | 833e29a6642363c28eb1c42a59449aea5692bf09 (diff) |
-Werror,-Wunused-function
Change-Id: I3c1066902df047a10cf407900dd040dc4408f88c
Diffstat (limited to 'vcl/unx/gtk')
-rw-r--r-- | vcl/unx/gtk/window/gtksalframe.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx index fa6a31b7e401..95a33f0db29b 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)) |