Kaydet (Commit) 9b6cd255 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

WaE: remove unused variables

üst 5ebe0024
......@@ -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() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment