diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:00:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:26:23 +0100 |
commit | cc2606a785bf1a57623b8c58e7388112279f6b9e (patch) | |
tree | 044470773656db0b31ae1381672fa27f6811dd50 /sc/source/ui/view/tabvwsh3.cxx | |
parent | dbac5ccaf8fd106ea424d362c0f9b32b7d043543 (diff) |
bool improvements
Change-Id: I740c0e18eefc64cb5f1da5b88ceb77289790ec37
Diffstat (limited to 'sc/source/ui/view/tabvwsh3.cxx')
-rw-r--r-- | sc/source/ui/view/tabvwsh3.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx index c1f533963065..c1b3e50e74e8 100644 --- a/sc/source/ui/view/tabvwsh3.cxx +++ b/sc/source/ui/view/tabvwsh3.cxx @@ -538,7 +538,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq ) PaintTop(); PaintLeft(); rBindings.Invalidate( nSlot ); - rReq.AppendItem( SfxBoolItem( nSlot, sal_True ) ); + rReq.AppendItem( SfxBoolItem( nSlot, true ) ); rReq.Done(); } } @@ -843,12 +843,12 @@ void ScTabViewShell::Execute( SfxRequest& rReq ) rMark.SelectTable( nTab, false ); for( nSelIx = 0; nSelIx < nSelCount; ++nSelIx ) - rMark.SelectTable( static_cast<SCTAB>(aIndexList[nSelIx]), sal_True ); + rMark.SelectTable( static_cast<SCTAB>(aIndexList[nSelIx]), true ); // activate another table, if current is deselected if( !rMark.GetTableSelect( rViewData.GetTabNo() ) ) { - rMark.SelectTable( nFirstVisTab, sal_True ); + rMark.SelectTable( nFirstVisTab, true ); SetTabNo( nFirstVisTab ); } @@ -898,7 +898,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq ) if ( eHSplit == SC_SPLIT_FIX || eVSplit == SC_SPLIT_FIX ) // aufheben RemoveSplit(); else - FreezeSplitters( sal_True ); // erzeugen oder fixieren + FreezeSplitters( true ); // erzeugen oder fixieren rReq.Done(); InvalidateSplit(); @@ -1028,7 +1028,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq ) { OUString aPassword = pDlg->GetPassword(); Protect( TABLEID_DOC, aPassword ); - rReq.AppendItem( SfxBoolItem( FID_PROTECT_DOC, sal_True ) ); + rReq.AppendItem( SfxBoolItem( FID_PROTECT_DOC, true ) ); rReq.Done(); } |