diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-07-21 23:20:55 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-07-22 01:30:20 +0200 |
commit | 9b6cd2558bf460c3e8f45d243636d9fcc74c8136 (patch) | |
tree | 6a20cb93f6a4ad9c71974aebd43f37a91eff64f7 /vcl/unx/generic | |
parent | 5ebe002488dd179180b4c6b1a78a89da4e13c0f2 (diff) |
WaE: remove unused variables
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r-- | vcl/unx/generic/window/salframe.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index fc16a90605ae..4472d06cca38 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -1008,15 +1008,6 @@ void X11SalFrame::SetIcon( sal_uInt16 nIcon ) #endif } - if ( !bFoundIconSize ) - { - // Unless someone has fixed olwm/olvwm, we have rejected - // the max icon size from |XGetIconSizes()|. Provide a - // better icon size default value, in case our window manager - // is olwm/olvwm. - const String& rWM( pDisplay_->getWMAdaptor()->getWindowManagerName() ); - } - XFree( pIconSize ); } else @@ -1714,7 +1705,6 @@ void X11SalFrame::SetWindowState( const SalFrameState *pState ) } const Size& aScreenSize = pDisplay_->getDataForScreen( m_nScreen ).m_aSize; - const WMAdaptor *pWM = GetDisplay()->getWMAdaptor(); if( bDoAdjust && aPosSize.GetWidth() <= aScreenSize.Width() && aPosSize.GetHeight() <= aScreenSize.Height() ) |