summaryrefslogtreecommitdiff
path: root/basic/source/app/apperror.cxx
diff options
context:
space:
mode:
authorXisco Faulí <anistenis@gmail.com>2011-03-21 12:55:40 +0100
committerChristina Rossmanith <ChrRossmanith@web.de>2011-03-21 12:55:58 +0100
commitf6e0527033be682dbf6b60bd9b060fdd853ffe33 (patch)
tree2d5ee2a7bface7ce26de0ac42eeb55d6d8050475 /basic/source/app/apperror.cxx
parent41aed87d074878c3a38a7f982f5c2aaad9400189 (diff)
Remove most of dead code inlibs-core (basic)
Diffstat (limited to 'basic/source/app/apperror.cxx')
-rwxr-xr-xbasic/source/app/apperror.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/basic/source/app/apperror.cxx b/basic/source/app/apperror.cxx
index 48781eab1767..04b9e8e34f0f 100755
--- a/basic/source/app/apperror.cxx
+++ b/basic/source/app/apperror.cxx
@@ -44,9 +44,6 @@ AppError::AppError( BasicFrame* pParent, String aFileName )
bHasFile = pDataEdit->Load( aFileName );
DirEntry aEntry( aFileName );
UpdateFileInfo( HAS_BEEN_LOADED );
- // Define icon
-// pIcon = new Icon( ResId( RID_WORKICON ) );
-// if( pIcon ) SetIcon( *pIcon );
pDataEdit->Show();
GrabFocus();
@@ -102,14 +99,10 @@ void AppError::LoadIniFile()
String aFontStyle = String( aConf.ReadKey( "ScriptFontStyle", "normal" ), RTL_TEXTENCODING_UTF8 );
String aFontSize = String( aConf.ReadKey( "ScriptFontSize", "12" ), RTL_TEXTENCODING_UTF8 );
Font aFont = aFontList.Get( aFontName, aFontStyle );
-// sal_uIntPtr nFontSize = aFontSize.GetValue( FUNIT_POINT );
sal_uIntPtr nFontSize = aFontSize.ToInt32();
-// aFont.SetSize( Size( nFontSize, nFontSize ) );
aFont.SetHeight( nFontSize );
aFont.SetTransparent( sal_False );
-// aFont.SetAlign( ALIGN_BOTTOM );
-// aFont.SetHeight( aFont.GetHeight()+2 );
pDataEdit->SetFont( aFont );
}