diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-01 20:50:33 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-02 00:37:15 +0100 |
commit | 2d28ed7b0ef302b9f6923ad02822882357b6d1aa (patch) | |
tree | 38f55f1d1c88ed9bda6c6044f05a5cc6d366f791 /sw/inc/edimp.hxx | |
parent | d57baa3d5d197c6620078104cca57fd8104012f6 (diff) |
kill FOREACHPAM_START_CONST
it was used for iterations with non-const operations only anyway
Change-Id: I63b0c1b3a58ff940820f469e586369cb2a255df7
Diffstat (limited to 'sw/inc/edimp.hxx')
-rw-r--r-- | sw/inc/edimp.hxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sw/inc/edimp.hxx b/sw/inc/edimp.hxx index 5d2e81371530..9f22e64eb560 100644 --- a/sw/inc/edimp.hxx +++ b/sw/inc/edimp.hxx @@ -31,15 +31,10 @@ class SwNodeIndex; #define PCURCRSR (static_cast<SwPaM *>(&__r)) #define FOREACHPAM_START(pCURSH) \ - BOOST_FOREACH(SwPaM& __r, std::make_pair(static_cast< SwPaM* >(pCURSH)->beginRing(), static_cast< SwPaM* >(pCURSH)->endRing())) \ - { - -#define FOREACHPAM_START_CONST(pCURSH) \ - BOOST_FOREACH(SwPaM& __r, std::make_pair(pCURSH->beginRing(), pCURSH->endRing())) \ + BOOST_FOREACH(SwPaM& __r, std::make_pair((pCURSH)->beginRing(), (pCURSH)->endRing())) \ { #define FOREACHPAM_END() } -#define FOREACHPAM_END_CONST() } struct SwPamRange { |