summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/window
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-21 23:20:55 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-22 01:30:20 +0200
commit9b6cd2558bf460c3e8f45d243636d9fcc74c8136 (patch)
tree6a20cb93f6a4ad9c71974aebd43f37a91eff64f7 /vcl/unx/generic/window
parent5ebe002488dd179180b4c6b1a78a89da4e13c0f2 (diff)
WaE: remove unused variables
Diffstat (limited to 'vcl/unx/generic/window')
-rw-r--r--vcl/unx/generic/window/salframe.cxx10
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() )