summaryrefslogtreecommitdiffstats
path: root/sw/inc/pam.hxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-11-08 16:13:30 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-11-08 16:13:30 +0000
commit95e187b70b1cc4fcbb5939f485431a8060025dbb (patch)
treea127d88435efdcdd16ecfaa1a08c26bf7f9532b3 /sw/inc/pam.hxx
parentINTEGRATION: CWS swnumtree (1.23.182); FILE MERGED (diff)
downloadcore-95e187b70b1cc4fcbb5939f485431a8060025dbb.tar.gz
core-95e187b70b1cc4fcbb5939f485431a8060025dbb.zip
INTEGRATION: CWS swnumtree (1.13.6); FILE MERGED
2005/09/14 13:18:40 hbrinkm 1.13.6.1: #i51089# ContainsPosition
Diffstat (limited to 'sw/inc/pam.hxx')
-rw-r--r--sw/inc/pam.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/inc/pam.hxx b/sw/inc/pam.hxx
index 226d5421fac1..fc4de64d937b 100644
--- a/sw/inc/pam.hxx
+++ b/sw/inc/pam.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: pam.hxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 02:04:30 $
+ * last change: $Author: rt $ $Date: 2005-11-08 17:13:30 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -266,6 +266,9 @@ public:
// etwas geschuetztes.
FASTBOOL HasReadonlySel( bool bFormView ) const;
+ FASTBOOL ContainsPosition(const SwPosition & rPos)
+ { return *Start() <= rPos && rPos <= *End(); }
+
DECL_FIXEDMEMPOOL_NEWDEL(SwPaM);
String GetTxt() const;