diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-14 13:56:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-14 14:15:20 +0200 |
commit | bb39bea2e63ec04e2cde88121d09c88e451b340e (patch) | |
tree | 9a01aa97d7d0dbefc5b75c1f2f8676b1d03e1522 /sc | |
parent | 6c5c56848cd8de45fd016d2ba102e1e3db3ae643 (diff) |
sal_Bool->bool
Change-Id: I475daf63c9548176f37449a26731cb176cf0ea3e
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/formdlg/formula.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/anyrefdg.hxx | 8 | ||||
-rw-r--r-- | sc/source/ui/inc/formula.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/anyrefdg.cxx | 6 |
4 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/ui/formdlg/formula.cxx b/sc/source/ui/formdlg/formula.cxx index 0df5f0cd495e..e0c4d1823a04 100644 --- a/sc/source/ui/formdlg/formula.cxx +++ b/sc/source/ui/formdlg/formula.cxx @@ -501,7 +501,7 @@ void ScFormulaDlg::ShowReference(const OUString& _sFormula) { m_aHelper.ShowReference(_sFormula); } -void ScFormulaDlg::HideReference( sal_Bool bDoneRefMode ) +void ScFormulaDlg::HideReference( bool bDoneRefMode ) { m_aHelper.HideReference(bDoneRefMode); } diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx index 65045fd380fe..751f00dd4ac4 100644 --- a/sc/source/ui/inc/anyrefdg.hxx +++ b/sc/source/ui/inc/anyrefdg.hxx @@ -130,7 +130,7 @@ private: protected: - virtual sal_Bool DoClose( sal_uInt16 nId ); + virtual bool DoClose( sal_uInt16 nId ); void SetDispatcherLock( bool bLock ); @@ -156,7 +156,7 @@ public: virtual bool IsDocAllowed( SfxObjectShell* pDocSh ) const; virtual void ShowReference(const OUString& rStr); - virtual void HideReference( sal_Bool bDoneRefMode = sal_True ); + virtual void HideReference( bool bDoneRefMode = true ); virtual void ToggleCollapsed( formula::RefEdit* pEdit, formula::RefButton* pButton = NULL ); virtual void ReleaseFocus( formula::RefEdit* pEdit, formula::RefButton* pButton = NULL ); @@ -170,7 +170,7 @@ public: bool EnterRefMode(); bool LeaveRefMode(); inline bool CanInputStart( const formula::RefEdit *pEdit ); - inline bool CanInputDone( sal_Bool bForced ); + inline bool CanInputDone( bool bForced ); }; //============================================================================ @@ -322,7 +322,7 @@ inline bool ScRefHandler::CanInputStart( const formula::RefEdit *pEdit ) return m_aHelper.CanInputStart( pEdit ); } -inline bool ScRefHandler::CanInputDone( sal_Bool bForced ) +inline bool ScRefHandler::CanInputDone( bool bForced ) { return m_aHelper.CanInputDone( bForced ); } diff --git a/sc/source/ui/inc/formula.hxx b/sc/source/ui/inc/formula.hxx index c8473a0b5e37..4850a2425836 100644 --- a/sc/source/ui/inc/formula.hxx +++ b/sc/source/ui/inc/formula.hxx @@ -87,7 +87,7 @@ public: // sc::IAnyRefDialog virtual void ShowReference(const OUString& _sRef); - virtual void HideReference( sal_Bool bDoneRefMode = sal_True ); + virtual void HideReference( bool bDoneRefMode = true ); virtual void SetReference( const ScRange& rRef, ScDocument* pD ); virtual void ReleaseFocus( formula::RefEdit* pEdit, formula::RefButton* pButton = NULL ); diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx index 49d5cb9e544c..a89077eea7a2 100644 --- a/sc/source/ui/miscdlgs/anyrefdg.cxx +++ b/sc/source/ui/miscdlgs/anyrefdg.cxx @@ -910,10 +910,10 @@ bool ScRefHandler::IsRefInputMode() const //---------------------------------------------------------------------------- -sal_Bool ScRefHandler::DoClose( sal_uInt16 nId ) +bool ScRefHandler::DoClose( sal_uInt16 nId ) { m_aHelper.DoClose(nId); - return sal_True; + return true; } void ScRefHandler::SetDispatcherLock( bool bLock ) @@ -1009,7 +1009,7 @@ bool ScRefHandler::ParseWithNames( ScRangeList& rRanges, const OUString& rStr, S return m_aHelper.ParseWithNames( rRanges, rStr, pDoc ); } // ----------------------------------------------------------------------------- -void ScRefHandler::HideReference( sal_Bool bDoneRefMode ) +void ScRefHandler::HideReference( bool bDoneRefMode ) { m_aHelper.HideReference( bDoneRefMode ); } |