diff options
author | Sascha Ballach <sab@openoffice.org> | 2001-06-13 16:02:55 +0000 |
---|---|---|
committer | Sascha Ballach <sab@openoffice.org> | 2001-06-13 16:02:55 +0000 |
commit | eb528975a74725c6232a7da3f09cd4bd471c888d (patch) | |
tree | 90ee1556cc016c9af41f02b078f92e09735b0aa7 /sc/inc/textuno.hxx | |
parent | 06e36bbd710852bca9b132c22b198a7f94a6b08d (diff) |
#79771#; move the dirty flag to the CellTextData
Diffstat (limited to 'sc/inc/textuno.hxx')
-rw-r--r-- | sc/inc/textuno.hxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx index 0b3a502c9ee6..541efebe13dd 100644 --- a/sc/inc/textuno.hxx +++ b/sc/inc/textuno.hxx @@ -2,9 +2,9 @@ * * $RCSfile: textuno.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: nn $ $Date: 2001-06-07 19:05:34 $ + * last change: $Author: sab $ $Date: 2001-06-13 17:01:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -368,9 +368,11 @@ class ScCellTextData : public SfxListener ScAddress aCellPos; ScEditEngineDefaulter* pEditEngine; SvxEditEngineForwarder* pForwarder; + ScSharedCellEditSource* pOriginalSource; BOOL bDataValid; BOOL bInUpdate; - ScSharedCellEditSource* pOriginalSource; + BOOL bDirty; + BOOL bDoUpdate; public: ScCellTextData(ScDocShell* pDocSh, const ScAddress& rP); @@ -388,6 +390,10 @@ public: // used for ScCellEditSource: ScDocShell* GetDocShell() const { return pDocShell; } const ScAddress& GetCellPos() const { return aCellPos; } + + void SetDirty(BOOL bValue) { bDirty = bValue; } + BOOL IsDirty() const { return bDirty; } + void SetDoUpdate(BOOL bValue) { bDoUpdate = bValue; } }; class ScCellTextObj : public ScCellTextData, public SvxUnoText |