[Libreoffice-commits] core.git: sw/inc
Stephan Bergmann
sbergman at redhat.com
Mon Feb 9 07:26:04 PST 2015
sw/inc/ring.hxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit c6d645780e96613a6f60b6896702335a0c205944
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Feb 9 16:24:03 2015 +0100
Also fix other Ring ctor
...after 8b12e63b60530a2ad3769bc4983cc09bedd34c79 "Don't downcast from Ring<T>
base class ctor/dtor to derived class T"
Change-Id: I734841a78e272e985d784bd756412e1af90b2df5
diff --git a/sw/inc/ring.hxx b/sw/inc/ring.hxx
index bfc9318..8083e95 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);
}
}
More information about the Libreoffice-commits
mailing list