summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sc/inc/textuno.hxx14
-rw-r--r--sc/source/ui/unoobj/textuno.cxx6
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 )