Kaydet (Commit) bb39bea2 authored tarafından Noel Grandin's avatar Noel Grandin

sal_Bool->bool

Change-Id: I475daf63c9548176f37449a26731cb176cf0ea3e
üst 6c5c5684
...@@ -29,7 +29,7 @@ namespace formula ...@@ -29,7 +29,7 @@ namespace formula
{ {
public: public:
virtual void ShowReference(const OUString& _sRef) = 0; virtual void ShowReference(const OUString& _sRef) = 0;
virtual void HideReference( sal_Bool bDoneRefMode = sal_True ) = 0; virtual void HideReference( bool bDoneRefMode = true ) = 0;
virtual void ReleaseFocus( RefEdit* pEdit, RefButton* pButton = NULL ) = 0; virtual void ReleaseFocus( RefEdit* pEdit, RefButton* pButton = NULL ) = 0;
virtual void ToggleCollapsed( RefEdit* pEdit, RefButton* pButton = NULL ) = 0; virtual void ToggleCollapsed( RefEdit* pEdit, RefButton* pButton = NULL ) = 0;
......
...@@ -177,7 +177,7 @@ void FormulaDialog::ShowReference(const OUString& /*_sRef*/) ...@@ -177,7 +177,7 @@ void FormulaDialog::ShowReference(const OUString& /*_sRef*/)
{ {
} }
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
void FormulaDialog::HideReference( sal_Bool /*bDoneRefMode*/) void FormulaDialog::HideReference( bool /*bDoneRefMode*/)
{ {
} }
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
......
...@@ -88,7 +88,7 @@ public: ...@@ -88,7 +88,7 @@ public:
// IControlReferenceHandler // IControlReferenceHandler
virtual void ShowReference(const OUString& _sRef); virtual void ShowReference(const OUString& _sRef);
virtual void HideReference( sal_Bool bDoneRefMode = sal_True ); virtual void HideReference( bool bDoneRefMode = true );
virtual void ReleaseFocus( formula::RefEdit* pEdit, formula::RefButton* pButton = NULL ); virtual void ReleaseFocus( formula::RefEdit* pEdit, formula::RefButton* pButton = NULL );
virtual void ToggleCollapsed( formula::RefEdit* pEdit, formula::RefButton* pButton = NULL ); virtual void ToggleCollapsed( formula::RefEdit* pEdit, formula::RefButton* pButton = NULL );
......
...@@ -501,7 +501,7 @@ void ScFormulaDlg::ShowReference(const OUString& _sFormula) ...@@ -501,7 +501,7 @@ void ScFormulaDlg::ShowReference(const OUString& _sFormula)
{ {
m_aHelper.ShowReference(_sFormula); m_aHelper.ShowReference(_sFormula);
} }
void ScFormulaDlg::HideReference( sal_Bool bDoneRefMode ) void ScFormulaDlg::HideReference( bool bDoneRefMode )
{ {
m_aHelper.HideReference(bDoneRefMode); m_aHelper.HideReference(bDoneRefMode);
} }
......
...@@ -130,7 +130,7 @@ private: ...@@ -130,7 +130,7 @@ private:
protected: protected:
virtual sal_Bool DoClose( sal_uInt16 nId ); virtual bool DoClose( sal_uInt16 nId );
void SetDispatcherLock( bool bLock ); void SetDispatcherLock( bool bLock );
...@@ -156,7 +156,7 @@ public: ...@@ -156,7 +156,7 @@ public:
virtual bool IsDocAllowed( SfxObjectShell* pDocSh ) const; virtual bool IsDocAllowed( SfxObjectShell* pDocSh ) const;
virtual void ShowReference(const OUString& rStr); 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 ToggleCollapsed( formula::RefEdit* pEdit, formula::RefButton* pButton = NULL );
virtual void ReleaseFocus( formula::RefEdit* pEdit, formula::RefButton* pButton = NULL ); virtual void ReleaseFocus( formula::RefEdit* pEdit, formula::RefButton* pButton = NULL );
...@@ -170,7 +170,7 @@ public: ...@@ -170,7 +170,7 @@ public:
bool EnterRefMode(); bool EnterRefMode();
bool LeaveRefMode(); bool LeaveRefMode();
inline bool CanInputStart( const formula::RefEdit *pEdit ); 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 ) ...@@ -322,7 +322,7 @@ inline bool ScRefHandler::CanInputStart( const formula::RefEdit *pEdit )
return m_aHelper.CanInputStart( pEdit ); return m_aHelper.CanInputStart( pEdit );
} }
inline bool ScRefHandler::CanInputDone( sal_Bool bForced ) inline bool ScRefHandler::CanInputDone( bool bForced )
{ {
return m_aHelper.CanInputDone( bForced ); return m_aHelper.CanInputDone( bForced );
} }
......
...@@ -87,7 +87,7 @@ public: ...@@ -87,7 +87,7 @@ public:
// sc::IAnyRefDialog // sc::IAnyRefDialog
virtual void ShowReference(const OUString& _sRef); 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 SetReference( const ScRange& rRef, ScDocument* pD );
virtual void ReleaseFocus( formula::RefEdit* pEdit, formula::RefButton* pButton = NULL ); virtual void ReleaseFocus( formula::RefEdit* pEdit, formula::RefButton* pButton = NULL );
......
...@@ -910,10 +910,10 @@ bool ScRefHandler::IsRefInputMode() const ...@@ -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); m_aHelper.DoClose(nId);
return sal_True; return true;
} }
void ScRefHandler::SetDispatcherLock( bool bLock ) void ScRefHandler::SetDispatcherLock( bool bLock )
...@@ -1009,7 +1009,7 @@ bool ScRefHandler::ParseWithNames( ScRangeList& rRanges, const OUString& rStr, S ...@@ -1009,7 +1009,7 @@ bool ScRefHandler::ParseWithNames( ScRangeList& rRanges, const OUString& rStr, S
return m_aHelper.ParseWithNames( rRanges, rStr, pDoc ); return m_aHelper.ParseWithNames( rRanges, rStr, pDoc );
} }
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
void ScRefHandler::HideReference( sal_Bool bDoneRefMode ) void ScRefHandler::HideReference( bool bDoneRefMode )
{ {
m_aHelper.HideReference( bDoneRefMode ); m_aHelper.HideReference( bDoneRefMode );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment