sal_Bool->bool

Change-Id: I475daf63c9548176f37449a26731cb176cf0ea3e
This commit is contained in:
Noel Grandin
2014-02-14 13:56:54 +02:00
parent 6c5c56848c
commit bb39bea2e6
7 changed files with 12 additions and 12 deletions

View File

@@ -29,7 +29,7 @@ namespace formula
{
public:
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 ToggleCollapsed( RefEdit* pEdit, RefButton* pButton = NULL ) = 0;

View File

@@ -177,7 +177,7 @@ void FormulaDialog::ShowReference(const OUString& /*_sRef*/)
{
}
// -----------------------------------------------------------------------------
void FormulaDialog::HideReference( sal_Bool /*bDoneRefMode*/)
void FormulaDialog::HideReference( bool /*bDoneRefMode*/)
{
}
// -----------------------------------------------------------------------------

View File

@@ -88,7 +88,7 @@ public:
// IControlReferenceHandler
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 ToggleCollapsed( formula::RefEdit* pEdit, formula::RefButton* pButton = NULL );

View File

@@ -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);
}

View File

@@ -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 );
}

View File

@@ -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 );

View File

@@ -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 );
}