summaryrefslogtreecommitdiff
path: root/sw/inc/ring.hxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-12-04 17:39:10 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-12-04 17:47:47 +0100
commit66b6611aae5dbfb68a958958a35e75725c8c1d9d (patch)
treee560446942a149409d1f3647a91229e70ecab3c3 /sw/inc/ring.hxx
parent1b53effc6e1b305aed4f7ea59db13ffac55fe28c (diff)
cid#1256668: uninit ptr field
Change-Id: I14f3bd9e3abd9562f47f21319da511df475b7fdd
Diffstat (limited to 'sw/inc/ring.hxx')
-rw-r--r--sw/inc/ring.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/ring.hxx b/sw/inc/ring.hxx
index 7c898a0a13b1..5d5494e1aa58 100644
--- a/sw/inc/ring.hxx
+++ b/sw/inc/ring.hxx
@@ -109,6 +109,7 @@ namespace sw
template <class T>
inline Ring<T>::Ring( T* pObj )
+ : pPrev(static_cast< T* >(this))
{
T* pThis = static_cast< T* >(this);
if( !pObj )