[Libreoffice-commits] .: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Jan 2 20:57:15 PST 2013


 sc/source/filter/oox/defnamesbuffer.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 7a8a3e46978b3397ca8aba38917bd5dbc808c9b8
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Wed Jan 2 23:56:43 2013 -0500

    fdo#58539: Properly initialize a member pointer value.
    
    Or else it would crash when loading the doc from fdo#55174.
    
    Change-Id: I21eb77f97dcab467c185dacaf9f00753bb4fc18c

diff --git a/sc/source/filter/oox/defnamesbuffer.cxx b/sc/source/filter/oox/defnamesbuffer.cxx
index d735ac4..488b7e3 100644
--- a/sc/source/filter/oox/defnamesbuffer.cxx
+++ b/sc/source/filter/oox/defnamesbuffer.cxx
@@ -285,6 +285,7 @@ ApiTokenSequence DefinedNameBase::importBiffFormula( sal_Int16 nBaseSheet, BiffI
 
 DefinedName::DefinedName( const WorkbookHelper& rHelper ) :
     DefinedNameBase( rHelper ),
+    mpScRangeData(NULL),
     mnTokenIndex( -1 ),
     mcBuiltinId( BIFF_DEFNAME_UNKNOWN ),
     mnFmlaSize( 0 )


More information about the Libreoffice-commits mailing list