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

sal_Bool->bool

Change-Id: Ic3883c0d490228ce607ac9296e45306718f03821
üst ab339269
......@@ -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
......
......@@ -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 )
......
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