summaryrefslogtreecommitdiff
path: root/sw/inc/ring.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/ring.hxx')
-rw-r--r--sw/inc/ring.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/inc/ring.hxx b/sw/inc/ring.hxx
index bfc9318ee9df..8083e959f0e9 100644
--- a/sw/inc/ring.hxx
+++ b/sw/inc/ring.hxx
@@ -127,8 +127,7 @@ namespace sw
{
if( pObj )
{
- value_type* pThis = static_cast< value_type* >(this);
- algo::link_before(pObj, pThis);
+ algo::link_before(pObj, this);
}
}