summaryrefslogtreecommitdiff
path: root/basic/source/app/apperror.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/app/apperror.cxx')
-rwxr-xr-x[-rw-r--r--]basic/source/app/apperror.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/basic/source/app/apperror.cxx b/basic/source/app/apperror.cxx
index cd5bc34b39a8..48781eab1767 100644..100755
--- a/basic/source/app/apperror.cxx
+++ b/basic/source/app/apperror.cxx
@@ -64,10 +64,10 @@ long AppError::InitMenu( Menu* pMenu )
{
AppWin::InitMenu (pMenu );
- pMenu->EnableItem( RID_EDITUNDO, FALSE );
- pMenu->EnableItem( RID_EDITREDO, FALSE );
+ pMenu->EnableItem( RID_EDITUNDO, sal_False );
+ pMenu->EnableItem( RID_EDITREDO, sal_False );
- return TRUE;
+ return sal_True;
}
long AppError::DeInitMenu( Menu* pMenu )
@@ -77,10 +77,10 @@ long AppError::DeInitMenu( Menu* pMenu )
pMenu->EnableItem( RID_EDITUNDO );
pMenu->EnableItem( RID_EDITREDO );
- return TRUE;
+ return sal_True;
}
-USHORT AppError::GetLineNr(){ return pDataEdit->GetLineNr(); }
+sal_uInt16 AppError::GetLineNr(){ return pDataEdit->GetLineNr(); }
FileType AppError::GetFileType()
{
@@ -102,12 +102,12 @@ 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 );
-// ULONG nFontSize = aFontSize.GetValue( FUNIT_POINT );
- ULONG nFontSize = aFontSize.ToInt32();
+// sal_uIntPtr nFontSize = aFontSize.GetValue( FUNIT_POINT );
+ sal_uIntPtr nFontSize = aFontSize.ToInt32();
// aFont.SetSize( Size( nFontSize, nFontSize ) );
aFont.SetHeight( nFontSize );
- aFont.SetTransparent( FALSE );
+ aFont.SetTransparent( sal_False );
// aFont.SetAlign( ALIGN_BOTTOM );
// aFont.SetHeight( aFont.GetHeight()+2 );
pDataEdit->SetFont( aFont );