diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-18 14:54:11 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-19 13:05:02 +0200 |
commit | ff7a3c8ec4f25ed9d2612988e36cbae997cfeafe (patch) | |
tree | 5621899507a5db3458f66f57744817476747abda /sc | |
parent | 7e55f69c01c7377e8b55c26e76c1e6e5aa723104 (diff) |
sal_Bool->bool
Change-Id: Ic78ad17c2c95c80697f64576434d200ff0989d1b
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/inc/prevwsh.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/view/prevwsh.cxx | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/inc/prevwsh.hxx b/sc/source/ui/inc/prevwsh.hxx index daa8cad499c5..af476e3e3c90 100644 --- a/sc/source/ui/inc/prevwsh.hxx +++ b/sc/source/ui/inc/prevwsh.hxx @@ -94,7 +94,7 @@ public: void UpdateScrollBars(); void UpdateNeededScrollBars(bool bFromZoom = false); - sal_Bool ScrollCommand( const CommandEvent& rCEvt ); + bool ScrollCommand( const CommandEvent& rCEvt ); void Execute( SfxRequest& rReq ); void GetState( SfxItemSet& rSet ); @@ -115,7 +115,7 @@ public: void AddAccessibilityObject( SfxListener& rObject ); void RemoveAccessibilityObject( SfxListener& rObject ); void BroadcastAccessibility( const SfxHint &rHint ); - sal_Bool HasAccessibilityObjects(); + bool HasAccessibilityObjects(); const ScPreviewLocationData& GetLocationData(); ScDocument* GetDocument(); diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx index e5d959cb03e3..490058e4bb79 100644 --- a/sc/source/ui/view/prevwsh.cxx +++ b/sc/source/ui/view/prevwsh.cxx @@ -489,9 +489,9 @@ IMPL_LINK (ScPreviewShell, CloseHdl, SystemWindow*, EMPTYARG) return 0; } -sal_Bool ScPreviewShell::ScrollCommand( const CommandEvent& rCEvt ) +bool ScPreviewShell::ScrollCommand( const CommandEvent& rCEvt ) { - sal_Bool bDone = false; + bool bDone = false; const CommandWheelData* pData = rCEvt.GetWheelData(); if ( pData && pData->GetMode() == COMMAND_WHEEL_ZOOM ) { @@ -508,7 +508,7 @@ sal_Bool ScPreviewShell::ScrollCommand( const CommandEvent& rCEvt ) pPreview->SetZoom( (sal_uInt16)nNew ); } - bDone = sal_True; + bDone = true; } else { @@ -1190,7 +1190,7 @@ void ScPreviewShell::BroadcastAccessibility( const SfxHint &rHint ) pAccessibilityBroadcaster->Broadcast( rHint ); } -sal_Bool ScPreviewShell::HasAccessibilityObjects() +bool ScPreviewShell::HasAccessibilityObjects() { return pAccessibilityBroadcaster && pAccessibilityBroadcaster->HasListeners(); } |