diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-11 14:28:50 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-12 09:01:08 +0200 |
commit | a79f1097eed72fcc5a9edc64f31b17ee29558fc3 (patch) | |
tree | 4095e2ce2ed5d0dcd9134856e85387476b8401e6 | |
parent | 3876dcbf859811d618e6fd30b755d03798ef2ff9 (diff) |
sal_Bool->bool
Change-Id: Ie477a46fae2b8c4deb55435f3769ba74037dd259
-rw-r--r-- | editeng/source/uno/unoedprx.cxx | 2 | ||||
-rw-r--r-- | editeng/source/uno/unoedsrc.cxx | 2 | ||||
-rw-r--r-- | include/editeng/unoedprx.hxx | 6 | ||||
-rw-r--r-- | include/editeng/unoedsrc.hxx | 2 | ||||
-rw-r--r-- | include/svx/unoshtxt.hxx | 4 | ||||
-rw-r--r-- | sc/inc/editsrc.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/unoobj/editsrc.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/AccessibleOutlineEditSource.hxx | 2 | ||||
-rw-r--r-- | starmath/source/accessibility.cxx | 2 | ||||
-rw-r--r-- | starmath/source/accessibility.hxx | 4 | ||||
-rw-r--r-- | svx/source/accessibility/AccessibleEmptyEditSource.cxx | 6 | ||||
-rw-r--r-- | svx/source/accessibility/AccessibleEmptyEditSource.hxx | 2 | ||||
-rw-r--r-- | svx/source/unodraw/unoshtxt.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/docvw/SidebarTxtControlAcc.cxx | 4 |
15 files changed, 22 insertions, 22 deletions
diff --git a/editeng/source/uno/unoedprx.cxx b/editeng/source/uno/unoedprx.cxx index eea376645e8f..3ebcbe63a91e 100644 --- a/editeng/source/uno/unoedprx.cxx +++ b/editeng/source/uno/unoedprx.cxx @@ -385,7 +385,7 @@ SvxAccessibleTextEditViewAdapter* SvxEditSourceAdapter::GetEditViewForwarderAdap return NULL; } -SvxEditViewForwarder* SvxEditSourceAdapter::GetEditViewForwarder( sal_Bool bCreate ) +SvxEditViewForwarder* SvxEditSourceAdapter::GetEditViewForwarder( bool bCreate ) { return GetEditViewForwarderAdapter( bCreate ); } diff --git a/editeng/source/uno/unoedsrc.cxx b/editeng/source/uno/unoedsrc.cxx index 3af4ecaa478f..ebeb6f4622ce 100644 --- a/editeng/source/uno/unoedsrc.cxx +++ b/editeng/source/uno/unoedsrc.cxx @@ -65,7 +65,7 @@ SvxViewForwarder* SvxEditSource::GetViewForwarder() return NULL; } -SvxEditViewForwarder* SvxEditSource::GetEditViewForwarder( sal_Bool ) +SvxEditViewForwarder* SvxEditSource::GetEditViewForwarder( bool ) { return NULL; } diff --git a/include/editeng/unoedprx.hxx b/include/editeng/unoedprx.hxx index c2b877c25889..94a43757c4e3 100644 --- a/include/editeng/unoedprx.hxx +++ b/include/editeng/unoedprx.hxx @@ -145,9 +145,9 @@ public: virtual SvxEditSource* Clone() const; virtual SvxTextForwarder* GetTextForwarder(); SvxAccessibleTextAdapter* GetTextForwarderAdapter(); // covariant return types don't work on MSVC - virtual SvxViewForwarder* GetViewForwarder(); - virtual SvxEditViewForwarder* GetEditViewForwarder( sal_Bool bCreate = sal_False ); - SvxAccessibleTextEditViewAdapter* GetEditViewForwarderAdapter( sal_Bool bCreate = sal_False ); // covariant return types don't work on MSVC + virtual SvxViewForwarder* GetViewForwarder(); + virtual SvxEditViewForwarder* GetEditViewForwarder( bool bCreate = false ) SAL_OVERRIDE; + SvxAccessibleTextEditViewAdapter* GetEditViewForwarderAdapter( sal_Bool bCreate = sal_False ); // covariant return types don't work on MSVC virtual void UpdateData(); virtual SfxBroadcaster& GetBroadcaster() const; diff --git a/include/editeng/unoedsrc.hxx b/include/editeng/unoedsrc.hxx index 1b89fccb16d2..fb34126ebc9e 100644 --- a/include/editeng/unoedsrc.hxx +++ b/include/editeng/unoedsrc.hxx @@ -96,7 +96,7 @@ public: sal_True, all previously returned text forwarder can become invalid */ - virtual SvxEditViewForwarder* GetEditViewForwarder( sal_Bool bCreate = sal_False ); + virtual SvxEditViewForwarder* GetEditViewForwarder( bool bCreate = false ); /// Write back data to model virtual void UpdateData() = 0; diff --git a/include/svx/unoshtxt.hxx b/include/svx/unoshtxt.hxx index 88972bd193c9..fd30b64a7a10 100644 --- a/include/svx/unoshtxt.hxx +++ b/include/svx/unoshtxt.hxx @@ -57,8 +57,8 @@ public: virtual SvxEditSource* Clone() const; virtual SvxTextForwarder* GetTextForwarder(); - virtual SvxViewForwarder* GetViewForwarder(); - virtual SvxEditViewForwarder* GetEditViewForwarder( sal_Bool bCreate = sal_False ); + virtual SvxViewForwarder* GetViewForwarder(); + virtual SvxEditViewForwarder* GetEditViewForwarder( bool bCreate = false ) SAL_OVERRIDE; virtual void UpdateData(); virtual void addRange( SvxUnoTextRangeBase* pNewRange ); diff --git a/sc/inc/editsrc.hxx b/sc/inc/editsrc.hxx index 95aa54155823..004f63880e21 100644 --- a/sc/inc/editsrc.hxx +++ b/sc/inc/editsrc.hxx @@ -147,7 +147,7 @@ public: virtual SvxEditSource* Clone() const; virtual SvxTextForwarder* GetTextForwarder(); virtual SvxViewForwarder* GetViewForwarder(); - virtual SvxEditViewForwarder* GetEditViewForwarder( sal_Bool bCreate = false ); + virtual SvxEditViewForwarder* GetEditViewForwarder( bool bCreate = false ) SAL_OVERRIDE; virtual void UpdateData(); virtual SfxBroadcaster& GetBroadcaster() const; }; diff --git a/sc/source/ui/unoobj/editsrc.cxx b/sc/source/ui/unoobj/editsrc.cxx index 50adbf480c43..650280f857b8 100644 --- a/sc/source/ui/unoobj/editsrc.cxx +++ b/sc/source/ui/unoobj/editsrc.cxx @@ -275,7 +275,7 @@ SvxViewForwarder* ScAccessibilityEditSource::GetViewForwarder() return mpAccessibleTextData->GetViewForwarder(); } -SvxEditViewForwarder* ScAccessibilityEditSource::GetEditViewForwarder( sal_Bool bCreate ) +SvxEditViewForwarder* ScAccessibilityEditSource::GetEditViewForwarder( bool bCreate ) { return mpAccessibleTextData->GetEditViewForwarder(bCreate); } diff --git a/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx b/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx index 981ee3b53c55..a5ac5a682673 100644 --- a/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx +++ b/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx @@ -80,7 +80,7 @@ namespace accessibility return NULL; } - SvxEditViewForwarder* AccessibleOutlineEditSource::GetEditViewForwarder( sal_Bool ) + SvxEditViewForwarder* AccessibleOutlineEditSource::GetEditViewForwarder( bool ) { // TODO: maybe suboptimal if( IsValid() ) diff --git a/sd/source/ui/inc/AccessibleOutlineEditSource.hxx b/sd/source/ui/inc/AccessibleOutlineEditSource.hxx index 64496086fdef..75b04f31ab44 100644 --- a/sd/source/ui/inc/AccessibleOutlineEditSource.hxx +++ b/sd/source/ui/inc/AccessibleOutlineEditSource.hxx @@ -60,7 +60,7 @@ namespace accessibility virtual SvxEditSource* Clone() const; virtual SvxTextForwarder* GetTextForwarder(); virtual SvxViewForwarder* GetViewForwarder(); - virtual SvxEditViewForwarder* GetEditViewForwarder( sal_Bool bCreate = sal_False ); + virtual SvxEditViewForwarder* GetEditViewForwarder( bool bCreate = false ) SAL_OVERRIDE; virtual void UpdateData(); virtual SfxBroadcaster& GetBroadcaster() const; diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx index 2d6becb744f2..283d4710dd94 100644 --- a/starmath/source/accessibility.cxx +++ b/starmath/source/accessibility.cxx @@ -849,7 +849,7 @@ SvxViewForwarder* SmEditSource::GetViewForwarder() return &aViewFwd; } -SvxEditViewForwarder* SmEditSource::GetEditViewForwarder( sal_Bool /*bCreate*/ ) +SvxEditViewForwarder* SmEditSource::GetEditViewForwarder( bool /*bCreate*/ ) { return &aEditViewFwd; } diff --git a/starmath/source/accessibility.hxx b/starmath/source/accessibility.hxx index d9d30ae62fec..d770d095443b 100644 --- a/starmath/source/accessibility.hxx +++ b/starmath/source/accessibility.hxx @@ -302,8 +302,8 @@ public: virtual SvxEditSource* Clone() const; virtual SvxTextForwarder* GetTextForwarder(); - virtual SvxViewForwarder* GetViewForwarder(); - virtual SvxEditViewForwarder* GetEditViewForwarder( sal_Bool bCreate = sal_False ); + virtual SvxViewForwarder* GetViewForwarder(); + virtual SvxEditViewForwarder* GetEditViewForwarder( bool bCreate = false ) SAL_OVERRIDE; virtual void UpdateData(); virtual SfxBroadcaster& GetBroadcaster() const; }; diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.cxx b/svx/source/accessibility/AccessibleEmptyEditSource.cxx index fee79fdf5239..e16dfafd2f55 100644 --- a/svx/source/accessibility/AccessibleEmptyEditSource.cxx +++ b/svx/source/accessibility/AccessibleEmptyEditSource.cxx @@ -62,7 +62,7 @@ namespace accessibility // from the SvxEditSource interface SvxTextForwarder* GetTextForwarder(); SvxViewForwarder* GetViewForwarder(); - SvxEditViewForwarder* GetEditViewForwarder( sal_Bool bCreate = sal_False ); + SvxEditViewForwarder* GetEditViewForwarder( bool bCreate = false ) SAL_OVERRIDE; SvxEditSource* Clone() const; @@ -198,7 +198,7 @@ namespace accessibility return maEditSource.GetViewForwarder(); } - SvxEditViewForwarder* AccessibleProxyEditSource_Impl::GetEditViewForwarder( sal_Bool bCreate ) + SvxEditViewForwarder* AccessibleProxyEditSource_Impl::GetEditViewForwarder( bool bCreate ) { return maEditSource.GetEditViewForwarder( bCreate ); } @@ -287,7 +287,7 @@ namespace accessibility mbEditSourceEmpty = false; } - SvxEditViewForwarder* AccessibleEmptyEditSource::GetEditViewForwarder( sal_Bool bCreate ) + SvxEditViewForwarder* AccessibleEmptyEditSource::GetEditViewForwarder( bool bCreate ) { if( !mpEditSource.get() ) return NULL; diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.hxx b/svx/source/accessibility/AccessibleEmptyEditSource.hxx index c10feb32e3aa..e4174aa83ddf 100644 --- a/svx/source/accessibility/AccessibleEmptyEditSource.hxx +++ b/svx/source/accessibility/AccessibleEmptyEditSource.hxx @@ -60,7 +60,7 @@ namespace accessibility // this method internally switches from empty to proxy mode, // creating an SvxTextEditSource for the functionality. - SvxEditViewForwarder* GetEditViewForwarder( sal_Bool bCreate = sal_False ); + SvxEditViewForwarder* GetEditViewForwarder( bool bCreate = false ) SAL_OVERRIDE; void UpdateData(); SfxBroadcaster& GetBroadcaster() const; diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx index 991b6bf9abac..3e47bda3e1f3 100644 --- a/svx/source/unodraw/unoshtxt.cxx +++ b/svx/source/unodraw/unoshtxt.cxx @@ -1087,7 +1087,7 @@ SvxTextForwarder* SvxTextEditSource::GetTextForwarder() } //------------------------------------------------------------------------ -SvxEditViewForwarder* SvxTextEditSource::GetEditViewForwarder( sal_Bool bCreate ) +SvxEditViewForwarder* SvxTextEditSource::GetEditViewForwarder( bool bCreate ) { return mpImpl->GetEditViewForwarder( bCreate ); } diff --git a/sw/source/ui/docvw/SidebarTxtControlAcc.cxx b/sw/source/ui/docvw/SidebarTxtControlAcc.cxx index f7a74cdc5933..5f0452950aad 100644 --- a/sw/source/ui/docvw/SidebarTxtControlAcc.cxx +++ b/sw/source/ui/docvw/SidebarTxtControlAcc.cxx @@ -48,7 +48,7 @@ class SidebarTextEditSource : public SvxEditSource, virtual SvxTextForwarder* GetTextForwarder(); virtual SvxViewForwarder* GetViewForwarder(); - virtual SvxEditViewForwarder* GetEditViewForwarder( sal_Bool bCreate = sal_False ); + virtual SvxEditViewForwarder* GetEditViewForwarder( bool bCreate = false ) SAL_OVERRIDE; virtual void UpdateData(); @@ -96,7 +96,7 @@ SvxViewForwarder* SidebarTextEditSource::GetViewForwarder() return &mViewForwarder; } -SvxEditViewForwarder* SidebarTextEditSource::GetEditViewForwarder( sal_Bool /*bCreate*/ ) +SvxEditViewForwarder* SidebarTextEditSource::GetEditViewForwarder( bool /*bCreate*/ ) { return &mViewForwarder; } |