summaryrefslogtreecommitdiff
path: root/sw/inc/edimp.hxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-12-02 09:36:37 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-12-02 11:15:01 +0100
commit1bea427d55ecf4a1914a6c404fc0f06a7bb044bd (patch)
treefafcaf5c07e122e75ade45be89bf13976aa5ca26 /sw/inc/edimp.hxx
parent98ee936a114bdd78c304aac824508cd4fd9ce59a (diff)
add rangeRing() for easier iteration
Change-Id: I0ef002c0c32c1435cbc62f954f98dc11c3f69945
Diffstat (limited to 'sw/inc/edimp.hxx')
-rw-r--r--sw/inc/edimp.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/edimp.hxx b/sw/inc/edimp.hxx
index 9f22e64eb560..f3f985aa0f6d 100644
--- a/sw/inc/edimp.hxx
+++ b/sw/inc/edimp.hxx
@@ -31,7 +31,7 @@ class SwNodeIndex;
#define PCURCRSR (static_cast<SwPaM *>(&__r))
#define FOREACHPAM_START(pCURSH) \
- BOOST_FOREACH(SwPaM& __r, std::make_pair((pCURSH)->beginRing(), (pCURSH)->endRing())) \
+ BOOST_FOREACH(SwPaM& __r, (pCURSH)->rangeRing()) \
{
#define FOREACHPAM_END() }