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.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/edimp.hxx b/sw/inc/edimp.hxx
index ea7f14f7665a..c6e2956fc994 100644
--- a/sw/inc/edimp.hxx
+++ b/sw/inc/edimp.hxx
@@ -35,7 +35,7 @@ class SwNodeIndex;
do {
#define FOREACHPAM_END() \
- } while( (_pStartCrsr=(SwPaM *)_pStartCrsr->GetNext()) != __pStartCrsr ); \
+ } while( (_pStartCrsr=static_cast<SwPaM *>(_pStartCrsr->GetNext())) != __pStartCrsr ); \
}
struct SwPamRange