summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-18 14:54:11 +0200
committerNoel Grandin <noel@peralex.com>2014-02-19 13:05:02 +0200
commitff7a3c8ec4f25ed9d2612988e36cbae997cfeafe (patch)
tree5621899507a5db3458f66f57744817476747abda /sc/source/ui/view
parent7e55f69c01c7377e8b55c26e76c1e6e5aa723104 (diff)
sal_Bool->bool
Change-Id: Ic78ad17c2c95c80697f64576434d200ff0989d1b
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/prevwsh.cxx8
1 files changed, 4 insertions, 4 deletions
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();
}