diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-12 14:24:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-14 14:15:05 +0200 |
commit | 6e0254772a0312bb6493513a5c1973aec00cafdf (patch) | |
tree | 0d68a759d4b5fc0146f4b6c2e4b12802b78505fd /sc | |
parent | sal_Bool->bool (diff) | |
download | core-6e0254772a0312bb6493513a5c1973aec00cafdf.tar.gz core-6e0254772a0312bb6493513a5c1973aec00cafdf.zip |
sal_Bool->bool
Change-Id: Ic3883c0d490228ce607ac9296e45306718f03821
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/textuno.hxx | 14 | ||||
-rw-r--r-- | sc/source/ui/unoobj/textuno.cxx | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx index 4c6ba42aedd7..7f736a70765e 100644 --- a/sc/inc/textuno.hxx +++ b/sc/inc/textuno.hxx @@ -373,10 +373,10 @@ protected: ScFieldEditEngine* pEditEngine; SvxEditEngineForwarder* pForwarder; ScCellEditSource* pOriginalSource; - sal_Bool bDataValid; - sal_Bool bInUpdate; - sal_Bool bDirty; - sal_Bool bDoUpdate; + bool bDataValid; + bool bInUpdate; + bool bDirty; + bool bDoUpdate; protected: virtual void GetCellText(const ScAddress& rCellPos, OUString& rText); @@ -398,9 +398,9 @@ public: ScDocShell* GetDocShell() const { return pDocShell; } const ScAddress& GetCellPos() const { return aCellPos; } - void SetDirty(sal_Bool bValue) { bDirty = bValue; } - sal_Bool IsDirty() const { return bDirty; } - void SetDoUpdate(sal_Bool bValue) { bDoUpdate = bValue; } + void SetDirty(bool bValue) { bDirty = bValue; } + bool IsDirty() const { return bDirty; } + void SetDoUpdate(bool bValue) { bDoUpdate = bValue; } }; class ScCellTextObj : public ScCellTextData, public SvxUnoText diff --git a/sc/source/ui/unoobj/textuno.cxx b/sc/source/ui/unoobj/textuno.cxx index bff43a9a4d63..3ea1258d396f 100644 --- a/sc/source/ui/unoobj/textuno.cxx +++ b/sc/source/ui/unoobj/textuno.cxx @@ -922,7 +922,7 @@ ScCellTextData::ScCellTextData(ScDocShell* pDocSh, const ScAddress& rP) : bDataValid( false ), bInUpdate( false ), bDirty( false ), - bDoUpdate( sal_True ) + bDoUpdate( true ) { if (pDocShell) pDocShell->GetDocument()->AddUnoObject(*this); @@ -1034,7 +1034,7 @@ void ScCellTextData::UpdateData() // during the own UpdateData call, bDataValid must not be reset, // or things like attributes after the text would be lost // (are not stored in the cell) - bInUpdate = sal_True; // prevents bDataValid from being reset + bInUpdate = true; // prevents bDataValid from being reset pDocShell->GetDocFunc().PutData(aCellPos, *pEditEngine, true); // always as text bInUpdate = false; @@ -1042,7 +1042,7 @@ void ScCellTextData::UpdateData() } } else - bDirty = sal_True; + bDirty = true; } void ScCellTextData::Notify( SfxBroadcaster&, const SfxHint& rHint ) |