diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-19 10:01:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-19 13:05:09 +0200 |
commit | 639f33fc5b0bd3d0a7f6387ae89cd2051ca799e5 (patch) | |
tree | fc2254885adfbecbc1aee135551b584284ddd193 /sc | |
parent | 19d0ea98626e55613064ddf168b64520548d54aa (diff) |
sal_Bool->bool
Change-Id: I6c29ace5985a025bcecbdeb50dfa40f9342b126a
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/inc/tabcont.hxx | 8 | ||||
-rw-r--r-- | sc/source/ui/view/tabcont.cxx | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/inc/tabcont.hxx b/sc/source/ui/inc/tabcont.hxx index 2c87f89c729b..e784dcff1eff 100644 --- a/sc/source/ui/inc/tabcont.hxx +++ b/sc/source/ui/inc/tabcont.hxx @@ -37,9 +37,9 @@ class ScTabControl : public TabBar, public DropTargetHelper, public DragSourceHe { private: ScViewData* pViewData; - sal_uInt16 nMouseClickPageId; /// Last page ID after mouse button down/up - sal_uInt16 nSelPageIdByMouse; /// Selected page ID, if selected with mouse - sal_Bool bErrorShown; + sal_uInt16 nMouseClickPageId; /// Last page ID after mouse button down/up + sal_uInt16 nSelPageIdByMouse; /// Selected page ID, if selected with mouse + bool bErrorShown; void DoDrag( const Region& rRegion ); @@ -74,7 +74,7 @@ public: void UpdateInputContext(); void UpdateStatus(); - void SetSheetLayoutRTL( sal_Bool bSheetRTL ); + void SetSheetLayoutRTL( bool bSheetRTL ); }; diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx index 66d232f46f50..367a80a82b3c 100644 --- a/sc/source/ui/view/tabcont.cxx +++ b/sc/source/ui/view/tabcont.cxx @@ -395,7 +395,7 @@ void ScTabControl::UpdateStatus() } } -void ScTabControl::SetSheetLayoutRTL( sal_Bool bSheetRTL ) +void ScTabControl::SetSheetLayoutRTL( bool bSheetRTL ) { SetEffectiveRTL( bSheetRTL ); nSelPageIdByMouse = TabBar::PAGE_NOT_FOUND; @@ -619,7 +619,7 @@ long ScTabControl::AllowRenaming() } else { - bErrorShown = sal_True; + bErrorShown = true; pViewSh->ErrorMessage( STR_INVALIDTABNAME ); bErrorShown = false; nRet = TABBAR_RENAMING_NO; |