diff options
author | Niklas Nebel <nn@openoffice.org> | 2002-11-04 14:46:18 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2002-11-04 14:46:18 +0000 |
commit | b70135f37da40eb437eec01f4a34e0907c65c86f (patch) | |
tree | fe4b12b3deac5ab9219c8beba957e2e49290ae1d /sc/inc/detdata.hxx | |
parent | 900b807f8b9e0025d49e338ad04d71a4083054f4 (diff) |
#75362# additional flag to quickly check if 'Add Error' is in the list
Diffstat (limited to 'sc/inc/detdata.hxx')
-rw-r--r-- | sc/inc/detdata.hxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sc/inc/detdata.hxx b/sc/inc/detdata.hxx index 757bc99770d7..bf5f03acf045 100644 --- a/sc/inc/detdata.hxx +++ b/sc/inc/detdata.hxx @@ -2,9 +2,9 @@ * * $RCSfile: detdata.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:44:48 $ + * last change: $Author: nn $ $Date: 2002-11-04 15:45:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -121,8 +121,10 @@ SV_DECL_PTRARR_DEL(ScDetOpArr_Impl, ScDetOpDataPtr, SC_DETOP_GROW, SC_DETOP_GROW class ScDetOpList : public ScDetOpArr_Impl { + BOOL bHasAddError; // updated in Append + public: - ScDetOpList() {} + ScDetOpList() : bHasAddError(FALSE) {} ScDetOpList(const ScDetOpList& rList); ~ScDetOpList() {} @@ -131,10 +133,12 @@ public: BOOL operator==( const ScDetOpList& r ) const; // fuer Ref-Undo - void Append( ScDetOpData* pData ) { Insert( pData, Count() ); } + void Append( ScDetOpData* pData ); void Load( SvStream& rStream ); void Store( SvStream& rStream ) const; + + BOOL HasAddError() const { return bHasAddError; } }; |