diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-14 08:36:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-14 10:57:28 +0200 |
commit | a05da74d0bdf691f097aa925fa59e21203ade8ed (patch) | |
tree | 519ce8d2ee5c722acc46a269c67b44aec960ed97 /sw/inc/edimp.hxx | |
parent | d32be3ace8c8fd430bbecdf69f88a116b0ee91d1 (diff) |
loplugin: cstylecast
Change-Id: I7235a67e85c10ec9fefe7f718cda18f633cda97a
Diffstat (limited to 'sw/inc/edimp.hxx')
-rw-r--r-- | sw/inc/edimp.hxx | 9 |
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; |