diff options
Diffstat (limited to 'sw/inc/edimp.hxx')
-rw-r--r-- | sw/inc/edimp.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/inc/edimp.hxx b/sw/inc/edimp.hxx index a6dbcaf1eff0..5d2e81371530 100644 --- a/sw/inc/edimp.hxx +++ b/sw/inc/edimp.hxx @@ -34,7 +34,9 @@ class SwNodeIndex; BOOST_FOREACH(SwPaM& __r, std::make_pair(static_cast< SwPaM* >(pCURSH)->beginRing(), static_cast< SwPaM* >(pCURSH)->endRing())) \ { -#define FOREACHPAM_START_CONST(pCURSH) FOREACHPAM_START(pCURSH) +#define FOREACHPAM_START_CONST(pCURSH) \ + BOOST_FOREACH(SwPaM& __r, std::make_pair(pCURSH->beginRing(), pCURSH->endRing())) \ + { #define FOREACHPAM_END() } #define FOREACHPAM_END_CONST() } |