summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/navipi/scenwnd.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/navipi/scenwnd.cxx')
-rw-r--r--sc/source/ui/navipi/scenwnd.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/navipi/scenwnd.cxx b/sc/source/ui/navipi/scenwnd.cxx
index e7dff0bf37c7..a90f4513aa85 100644
--- a/sc/source/ui/navipi/scenwnd.cxx
+++ b/sc/source/ui/navipi/scenwnd.cxx
@@ -54,7 +54,7 @@ ScScenarioListBox::ScScenarioListBox( ScScenarioWindow& rParent ) :
mrParent( rParent )
{
Font aFont( GetFont() );
- aFont.SetTransparent( TRUE );
+ aFont.SetTransparent( sal_True );
aFont.SetWeight( WEIGHT_LIGHT );
SetFont( aFont );
}
@@ -87,7 +87,7 @@ void ScScenarioListBox::UpdateEntries( List* pNewEntryList )
{
// sheet contains scenarios
DBG_ASSERT( pNewEntryList->Count() % 3 == 0, "ScScenarioListBox::UpdateEntries - wrong list size" );
- SetUpdateMode( FALSE );
+ SetUpdateMode( sal_False );
String* pEntry = static_cast< String* >( pNewEntryList->First() );
while( pEntry )
{
@@ -106,7 +106,7 @@ void ScScenarioListBox::UpdateEntries( List* pNewEntryList )
InsertEntry( aEntry.maName, LISTBOX_APPEND );
pEntry = static_cast< String* >( pNewEntryList->Next() );
}
- SetUpdateMode( TRUE );
+ SetUpdateMode( sal_True );
SetNoSelection();
mrParent.SetComment( EMPTY_STRING );
}
@@ -181,7 +181,7 @@ const ScScenarioListBox::ScenarioEntry* ScScenarioListBox::GetSelectedEntry() co
return (nPos < maEntries.size()) ? &maEntries[ nPos ] : 0;
}
-void ScScenarioListBox::ExecuteScenarioSlot( USHORT nSlotId )
+void ScScenarioListBox::ExecuteScenarioSlot( sal_uInt16 nSlotId )
{
if( SfxViewFrame* pViewFrm = SfxViewFrame::Current() )
{
@@ -220,7 +220,7 @@ ScScenarioWindow::ScScenarioWindow( Window* pParent,const String& aQH_List,
aEdComment ( this, WB_BORDER | WB_LEFT | WB_READONLY | WB_VSCROLL | WB_TABSTOP )
{
Font aFont( GetFont() );
- aFont.SetTransparent( TRUE );
+ aFont.SetTransparent( sal_True );
aFont.SetWeight( WEIGHT_LIGHT );
aEdComment.SetFont( aFont );
aEdComment.SetMaxTextLen( 512 );