summaryrefslogtreecommitdiff
path: root/sc/inc/refdata.hxx
diff options
context:
space:
mode:
authorHans-Joachim Lankenau <hjs@openoffice.org>2003-08-19 10:33:38 +0000
committerHans-Joachim Lankenau <hjs@openoffice.org>2003-08-19 10:33:38 +0000
commitf9ae38d5ffa8885c245cd89f1c3b7f375f26bd67 (patch)
treea6e1253a7c957d4a32be980522a8db46f76dcd22 /sc/inc/refdata.hxx
parent18c46acf186f51f67bce409e2385f8342661bc60 (diff)
INTEGRATION: CWS dr6 (1.2.68); FILE MERGED
2003/07/11 15:03:34 dr 1.2.68.1: #i3653# added ComplRefData::IsDeleted
Diffstat (limited to 'sc/inc/refdata.hxx')
-rw-r--r--sc/inc/refdata.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/inc/refdata.hxx b/sc/inc/refdata.hxx
index a70bcea8b341..5c35786c49c0 100644
--- a/sc/inc/refdata.hxx
+++ b/sc/inc/refdata.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: refdata.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: hr $ $Date: 2003-03-26 18:03:36 $
+ * last change: $Author: hjs $ $Date: 2003-08-19 11:33:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -201,6 +201,8 @@ struct ComplRefData // Complex reference (a range) into the sheet
{ Ref1.CalcRelFromAbs( rPos ); Ref2.CalcRelFromAbs( rPos ); }
inline void CalcAbsIfRel( const ScAddress& rPos )
{ Ref1.CalcAbsIfRel( rPos ); Ref2.CalcAbsIfRel( rPos ); }
+ inline BOOL IsDeleted() const
+ { return Ref1.IsDeleted() || Ref2.IsDeleted(); }
inline BOOL Valid() const
{ return Ref1.Valid() && Ref2.Valid(); }
void PutInOrder();