summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-01-17 14:20:33 +0200
committerNoel Grandin <noel@peralex.com>2014-01-20 13:13:51 +0200
commitf8e5ba4f514487ddc8fa1b42f6d536d00728ddf7 (patch)
treea940aa7c59af6257ce6c2cfa1013cec8f6e9fae5 /sc
parent2b015cd8adaca8345cc520eff369b5429c1bed37 (diff)
sal_Bool->bool
Change-Id: I7c60759d199da6b0d1494cf31e1577808e618627
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/cellsuno.hxx8
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx14
2 files changed, 11 insertions, 11 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index fed134e395db..1f89aa614cc1 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -830,7 +830,7 @@ private:
private:
OUString GetInputString_Impl(bool bEnglish) const;
OUString GetOutputString_Impl() const;
- void SetString_Impl(const OUString& rString, sal_Bool bInterpret, sal_Bool bEnglish);
+ void SetString_Impl(const OUString& rString, bool bInterpret, bool bEnglish);
double GetValue_Impl() const;
void SetValue_Impl(double fValue);
com::sun::star::table::CellContentType GetResultType_Impl();
@@ -1371,7 +1371,7 @@ private:
ScRangeList aRanges;
ScAddress aPos;
ScMarkData* pMark;
- sal_Bool bAtEnd;
+ bool bAtEnd;
private:
void Advance_Impl();
@@ -1454,8 +1454,8 @@ private:
SCTAB nTab;
ScAttrRectIterator* pIter;
ScRange aNext;
- sal_Bool bAtEnd;
- sal_Bool bDirty;
+ bool bAtEnd;
+ bool bDirty;
private:
void Advance_Impl();
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index d97b2b5e971d..3fe3fb0834bd 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -6237,7 +6237,7 @@ OUString ScCellObj::GetOutputString_Impl() const
return aVal;
}
-void ScCellObj::SetString_Impl(const OUString& rString, sal_Bool bInterpret, sal_Bool bEnglish)
+void ScCellObj::SetString_Impl(const OUString& rString, bool bInterpret, bool bEnglish)
{
ScDocShell* pDocSh = GetDocShell();
if ( pDocSh )
@@ -6513,7 +6513,7 @@ void SAL_CALL ScCellObj::setFormula( const OUString& aFormula ) throw(uno::Runti
{
SolarMutexGuard aGuard;
OUString aString(aFormula);
- SetString_Impl(aString, sal_True, sal_True); // Interpret as English
+ SetString_Impl(aString, true, true); // Interpret as English
}
double SAL_CALL ScCellObj::getValue() throw(uno::RuntimeException)
@@ -6726,7 +6726,7 @@ void ScCellObj::SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, c
OUString aStrVal;
aValue >>= aStrVal;
OUString aString(aStrVal);
- SetString_Impl(aString, sal_True, false); // lokal interpretieren
+ SetString_Impl(aString, true, false); // lokal interpretieren
}
else if ( pEntry->nWID == SC_WID_UNO_FORMRT )
{
@@ -9235,7 +9235,7 @@ void ScCellsEnumeration::Advance_Impl()
if (bFound)
aPos.Set( nCol, nRow, nTab );
else
- bAtEnd = sal_True; // kommt nix mehr
+ bAtEnd = true; // kommt nix mehr
}
void ScCellsEnumeration::Notify( SfxBroadcaster&, const SfxHint& rHint )
@@ -9463,10 +9463,10 @@ void ScCellFormatsEnumeration::Advance_Impl()
if ( pIter->GetNext( nCol1, nCol2, nRow1, nRow2 ) )
aNext = ScRange( nCol1, nRow1, nTab, nCol2, nRow2, nTab );
else
- bAtEnd = sal_True; // kommt nix mehr
+ bAtEnd = true; // kommt nix mehr
}
else
- bAtEnd = sal_True; // Dok weggekommen oder so
+ bAtEnd = true; // Dok weggekommen oder so
}
ScCellRangeObj* ScCellFormatsEnumeration::NextObject_Impl()
@@ -9500,7 +9500,7 @@ void ScCellFormatsEnumeration::Notify( SfxBroadcaster&, const SfxHint& rHint )
}
else if ( nId == SFX_HINT_DATACHANGED )
{
- bDirty = sal_True; // AttrArray-Index evtl. ungueltig geworden
+ bDirty = true; // AttrArray-Index evtl. ungueltig geworden
}
}
}