[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - writerfilter/source

Caolán McNamara caolanm at redhat.com
Thu Jun 6 04:03:50 PDT 2013


 writerfilter/source/dmapper/SdtHelper.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 294002ab56e82865943b549c22ca1049e14b79bb
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jun 6 11:58:23 2013 +0100

    valgrind: uninit variable
    
    Change-Id: I5640291d9e221c9cffd7daec9d46a313fddfaf4e
    (cherry picked from commit b5d93a58a7f4e23432f18da0946bac04027c23a8)

diff --git a/writerfilter/source/dmapper/SdtHelper.cxx b/writerfilter/source/dmapper/SdtHelper.cxx
index 031b70f..58c092f 100644
--- a/writerfilter/source/dmapper/SdtHelper.cxx
+++ b/writerfilter/source/dmapper/SdtHelper.cxx
@@ -62,8 +62,9 @@ awt::Size lcl_getOptimalWidth(StyleSheetTablePtr pStyleSheet, OUString& rDefault
     return awt::Size(nWidth + nBorder + nHeight, nHeight + nBorder);
 }
 
-SdtHelper::SdtHelper(DomainMapper_Impl& rDM_Impl):
-    m_rDM_Impl(rDM_Impl)
+SdtHelper::SdtHelper(DomainMapper_Impl& rDM_Impl)
+    : m_rDM_Impl(rDM_Impl)
+    , m_bHasElements(false)
 {
 }
 


More information about the Libreoffice-commits mailing list