summaryrefslogtreecommitdiff
path: root/sw/inc/edimp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/edimp.hxx')
-rw-r--r--sw/inc/edimp.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/sw/inc/edimp.hxx b/sw/inc/edimp.hxx
index c6e2956fc994..29aea41c2a71 100644
--- a/sw/inc/edimp.hxx
+++ b/sw/inc/edimp.hxx
@@ -38,6 +38,15 @@ class SwNodeIndex;
} while( (_pStartCrsr=static_cast<SwPaM *>(_pStartCrsr->GetNext())) != __pStartCrsr ); \
}
+#define FOREACHPAM_START_CONST(pCURSH) \
+ {\
+ const SwPaM *_pStartCrsr = (pCURSH), *__pStartCrsr = _pStartCrsr; \
+ do {
+
+#define FOREACHPAM_END_CONST() \
+ } while( (_pStartCrsr=static_cast<const SwPaM *>(_pStartCrsr->GetNext())) != __pStartCrsr ); \
+ }
+
struct SwPamRange
{
sal_uLong nStart, nEnd;