summaryrefslogtreecommitdiff
path: root/cui/source/options/optimprove.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/optimprove.cxx')
-rw-r--r--cui/source/options/optimprove.cxx28
1 files changed, 0 insertions, 28 deletions
diff --git a/cui/source/options/optimprove.cxx b/cui/source/options/optimprove.cxx
index 32aa6a6a3280..b1eb055e9b1a 100644
--- a/cui/source/options/optimprove.cxx
+++ b/cui/source/options/optimprove.cxx
@@ -197,31 +197,3 @@ IMPL_LINK( SvxImprovementDialog, HandleOK, OKButton*, EMPTYARG )
EndDialog( RET_OK );
return 0;
}
-
-// class SvxInfoWindow ---------------------------------------------------
-
-SvxInfoWindow::SvxInfoWindow( Window* pParent, const ResId& rResId ) :
- Window( pParent, rResId ),
- m_aInfoText( this )
-{
- m_aInfoText.SetPosSizePixel( Point( 10, 10 ), Size( 150, 10 ) );
-
- const StyleSettings& rSettings = GetSettings().GetStyleSettings();
- Wallpaper aWall( rSettings.GetWindowColor() );
- SetBackground( aWall );
- Font aNewFont( m_aInfoText.GetFont() );
- aNewFont.SetTransparent( TRUE );
- m_aInfoText.SetFont( aNewFont );
- m_aInfoText.SetBackground( aWall );
- m_aInfoText.SetControlForeground( rSettings.GetWindowTextColor() );
-}
-
-void SvxInfoWindow::SetInfoText( const String& rText )
-{
- m_aInfoText.SetText( rText );
- Size aSize = m_aInfoText.CalcMinimumSize();
- Size aWinSize = GetSizePixel();
- Point aPos( ( aWinSize.Width() - aSize.Width() ) / 2, ( aWinSize.Height() - aSize.Height() ) / 2 );
- m_aInfoText.SetPosSizePixel( aPos, aSize );
-}
-