summaryrefslogtreecommitdiff
path: root/sc/source/ui/navipi
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/navipi')
-rw-r--r--sc/source/ui/navipi/content.cxx2
-rw-r--r--sc/source/ui/navipi/navipi.cxx2
-rw-r--r--sc/source/ui/navipi/scenwnd.cxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx
index a181b5150199..e145143b87d0 100644
--- a/sc/source/ui/navipi/content.cxx
+++ b/sc/source/ui/navipi/content.cxx
@@ -239,7 +239,7 @@ void ScContentTree::ClearAll()
//the InitRoot() method won't be called. Then if a user click or press key to update the navigator tree, crash happens.
//So the solution is to disable the UpdateMode of Control, then call Clear(), then recover the update mode
sal_Bool bOldUpdate = Control::IsUpdateMode();
- Control::SetUpdateMode(sal_False);
+ Control::SetUpdateMode(false);
Clear();
Control::SetUpdateMode(bOldUpdate);
for (sal_uInt16 i=1; i<SC_CONTENT_COUNT; i++)
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index df0863f2ddfa..0e8319242828 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -1356,7 +1356,7 @@ void ScNavigatorDlg::GetDocNames( const OUString* pManualSel )
aSelEntry = aEntry;
}
- aLbDocuments.SetUpdateMode( sal_True );
+ aLbDocuments.SetUpdateMode( true );
aLbDocuments.SelectEntry( aSelEntry );
}
diff --git a/sc/source/ui/navipi/scenwnd.cxx b/sc/source/ui/navipi/scenwnd.cxx
index 8e1b0383eb77..d97aeeee4da9 100644
--- a/sc/source/ui/navipi/scenwnd.cxx
+++ b/sc/source/ui/navipi/scenwnd.cxx
@@ -40,7 +40,7 @@ ScScenarioListBox::ScScenarioListBox( ScScenarioWindow& rParent ) :
mrParent( rParent )
{
Font aFont( GetFont() );
- aFont.SetTransparent( sal_True );
+ aFont.SetTransparent( true );
aFont.SetWeight( WEIGHT_LIGHT );
SetFont( aFont );
}
@@ -91,7 +91,7 @@ void ScScenarioListBox::UpdateEntries( const std::vector<OUString> &aNewEntryLis
maEntries.push_back( aEntry );
InsertEntry( aEntry.maName, LISTBOX_APPEND );
}
- SetUpdateMode( sal_True );
+ SetUpdateMode( true );
SetNoSelection();
mrParent.SetComment( EMPTY_OUSTRING );
}
@@ -205,7 +205,7 @@ ScScenarioWindow::ScScenarioWindow( Window* pParent, const OUString& aQH_List,
aEdComment ( this, WB_BORDER | WB_LEFT | WB_READONLY | WB_VSCROLL | WB_TABSTOP )
{
Font aFont( GetFont() );
- aFont.SetTransparent( sal_True );
+ aFont.SetTransparent( true );
aFont.SetWeight( WEIGHT_LIGHT );
aEdComment.SetFont( aFont );
aEdComment.SetMaxTextLen( 512 );