diff options
author | Noel Grandin <noel@peralex.com> | 2014-01-16 13:25:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-01-17 09:16:50 +0200 |
commit | 8843078a1a9a3126d6d90cde5b98b171963446c8 (patch) | |
tree | d94b4584dc2edbab7d6a613c61aa62c8daad2a1e | |
parent | 4469a9c3e1df7f5e2eb79c30ba31b9be755279ab (diff) |
sal_Bool -> bool
Change-Id: Ic17c27323279f01cf35701bcd5aa4d89bc18a74c
-rw-r--r-- | sc/inc/appoptio.hxx | 6 | ||||
-rw-r--r-- | sc/source/ui/view/tabview.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwsh3.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sc/inc/appoptio.hxx b/sc/inc/appoptio.hxx index fad7496a591c..68bd62e96b59 100644 --- a/sc/inc/appoptio.hxx +++ b/sc/inc/appoptio.hxx @@ -43,8 +43,8 @@ public: sal_uInt16 GetZoom() const { return nZoom; } void SetZoomType( SvxZoomType eNew ) { eZoomType = eNew; } SvxZoomType GetZoomType() const { return eZoomType; } - void SetSynchronizeZoom( sal_Bool bNew ) { bSynchronizeZoom = bNew; } - sal_Bool GetSynchronizeZoom() const { return bSynchronizeZoom; } + void SetSynchronizeZoom( bool bNew ) { bSynchronizeZoom = bNew; } + bool GetSynchronizeZoom() const { return bSynchronizeZoom; } sal_uInt16 GetLRUFuncListCount() const { return nLRUFuncCount; } sal_uInt16* GetLRUFuncList() const { return pLRUList; } void SetLRUFuncList( const sal_uInt16* pList, @@ -86,7 +86,7 @@ private: sal_uInt16* pLRUList; SvxZoomType eZoomType; sal_uInt16 nZoom; - sal_Bool bSynchronizeZoom; + bool bSynchronizeZoom; sal_uInt16 nStatusFunc; sal_Bool bAutoComplete; sal_Bool bDetectiveAuto; diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx index 219653ba5ebe..3ae890f4629d 100644 --- a/sc/source/ui/view/tabview.cxx +++ b/sc/source/ui/view/tabview.cxx @@ -952,7 +952,7 @@ bool ScTabView::ScrollCommand( const CommandEvent& rCEvt, ScSplitPos ePos ) { // scroll wheel doesn't set the AppOptions default - sal_Bool bSyncZoom = SC_MOD()->GetAppOptions().GetSynchronizeZoom(); + bool bSyncZoom = SC_MOD()->GetAppOptions().GetSynchronizeZoom(); SetZoomType( SVX_ZOOM_PERCENT, bSyncZoom ); Fraction aFract( nNew, 100 ); SetZoom( aFract, aFract, bSyncZoom ); diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx index aa68378d44ac..de20ea1d594e 100644 --- a/sc/source/ui/view/tabvwsh3.cxx +++ b/sc/source/ui/view/tabvwsh3.cxx @@ -628,7 +628,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq ) case SID_ATTR_ZOOM: // Statuszeile case FID_SCALE: { - sal_Bool bSyncZoom = SC_MOD()->GetAppOptions().GetSynchronizeZoom(); + bool bSyncZoom = SC_MOD()->GetAppOptions().GetSynchronizeZoom(); SvxZoomType eOldZoomType = GetZoomType(); SvxZoomType eNewZoomType = eOldZoomType; const Fraction& rOldY = GetViewData()->GetZoomY(); // Y wird angezeigt @@ -740,7 +740,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq ) case SID_ATTR_ZOOMSLIDER: { const SfxPoolItem* pItem = NULL; - sal_Bool bSyncZoom = SC_MOD()->GetAppOptions().GetSynchronizeZoom(); + bool bSyncZoom = SC_MOD()->GetAppOptions().GetSynchronizeZoom(); if ( pReqArgs && pReqArgs->GetItemState(SID_ATTR_ZOOMSLIDER, sal_True, &pItem) == SFX_ITEM_SET ) { const sal_uInt16 nCurrentZoom = ((const SvxZoomSliderItem *)pItem)->GetValue(); |