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

sal_Bool->bool

Change-Id: I81941bb3a13ccf51e3c37272bc87620b2ca87eac
üst dd9fd8f3
...@@ -179,7 +179,7 @@ private: ...@@ -179,7 +179,7 @@ private:
/** if true, adding new name or modifying existing one will set the /** if true, adding new name or modifying existing one will set the
document 'modified' and broadcast the change. We turn this off during document 'modified' and broadcast the change. We turn this off during
import. */ import. */
sal_Bool mbModifyAndBroadcast; bool mbModifyAndBroadcast;
virtual ScNamedRangeObj* GetObjectByIndex_Impl(sal_uInt16 nIndex) = 0; virtual ScNamedRangeObj* GetObjectByIndex_Impl(sal_uInt16 nIndex) = 0;
virtual ScNamedRangeObj* GetObjectByName_Impl(const OUString& aName) = 0; virtual ScNamedRangeObj* GetObjectByName_Impl(const OUString& aName) = 0;
...@@ -338,7 +338,7 @@ class ScLabelRangeObj : public ::cppu::WeakImplHelper2< ...@@ -338,7 +338,7 @@ class ScLabelRangeObj : public ::cppu::WeakImplHelper2<
{ {
private: private:
ScDocShell* pDocShell; ScDocShell* pDocShell;
sal_Bool bColumn; bool bColumn;
ScRange aRange; ///< criterion to find range ScRange aRange; ///< criterion to find range
private: private:
...@@ -346,7 +346,7 @@ private: ...@@ -346,7 +346,7 @@ private:
void Modify_Impl( const ScRange* pLabel, const ScRange* pData ); void Modify_Impl( const ScRange* pLabel, const ScRange* pData );
public: public:
ScLabelRangeObj(ScDocShell* pDocSh, sal_Bool bCol, const ScRange& rR); ScLabelRangeObj(ScDocShell* pDocSh, bool bCol, const ScRange& rR);
virtual ~ScLabelRangeObj(); virtual ~ScLabelRangeObj();
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
...@@ -379,12 +379,12 @@ class ScLabelRangesObj : public ::cppu::WeakImplHelper3< ...@@ -379,12 +379,12 @@ class ScLabelRangesObj : public ::cppu::WeakImplHelper3<
{ {
private: private:
ScDocShell* pDocShell; ScDocShell* pDocShell;
sal_Bool bColumn; bool bColumn;
ScLabelRangeObj* GetObjectByIndex_Impl(size_t nIndex); ScLabelRangeObj* GetObjectByIndex_Impl(size_t nIndex);
public: public:
ScLabelRangesObj(ScDocShell* pDocSh, sal_Bool bCol); ScLabelRangesObj(ScDocShell* pDocSh, bool bCol);
virtual ~ScLabelRangesObj(); virtual ~ScLabelRangesObj();
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
......
...@@ -1791,7 +1791,7 @@ uno::Any SAL_CALL ScModelObj::getPropertyValue( const OUString& aPropertyName ) ...@@ -1791,7 +1791,7 @@ uno::Any SAL_CALL ScModelObj::getPropertyValue( const OUString& aPropertyName )
} }
else if ( aString.equalsAscii( SC_UNO_COLLABELRNG ) ) else if ( aString.equalsAscii( SC_UNO_COLLABELRNG ) )
{ {
aRet <<= uno::Reference<sheet::XLabelRanges>(new ScLabelRangesObj( pDocShell, sal_True )); aRet <<= uno::Reference<sheet::XLabelRanges>(new ScLabelRangesObj( pDocShell, true ));
} }
else if ( aString.equalsAscii( SC_UNO_ROWLABELRNG ) ) else if ( aString.equalsAscii( SC_UNO_ROWLABELRNG ) )
{ {
......
...@@ -941,7 +941,7 @@ SCTAB ScLocalNamedRangesObj::GetTab_Impl() ...@@ -941,7 +941,7 @@ SCTAB ScLocalNamedRangesObj::GetTab_Impl()
//------------------------------------------------------------------------ //------------------------------------------------------------------------
ScLabelRangeObj::ScLabelRangeObj(ScDocShell* pDocSh, sal_Bool bCol, const ScRange& rR) : ScLabelRangeObj::ScLabelRangeObj(ScDocShell* pDocSh, bool bCol, const ScRange& rR) :
pDocShell( pDocSh ), pDocShell( pDocSh ),
bColumn( bCol ), bColumn( bCol ),
aRange( rR ) aRange( rR )
...@@ -1062,7 +1062,7 @@ void SAL_CALL ScLabelRangeObj::setDataArea( const table::CellRangeAddress& aData ...@@ -1062,7 +1062,7 @@ void SAL_CALL ScLabelRangeObj::setDataArea( const table::CellRangeAddress& aData
//------------------------------------------------------------------------ //------------------------------------------------------------------------
ScLabelRangesObj::ScLabelRangesObj(ScDocShell* pDocSh, sal_Bool bCol) : ScLabelRangesObj::ScLabelRangesObj(ScDocShell* pDocSh, bool bCol) :
pDocShell( pDocSh ), pDocShell( pDocSh ),
bColumn( bCol ) bColumn( bCol )
{ {
......
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