summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-01-02 23:56:43 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-01-02 23:58:26 -0500
commit7a8a3e46978b3397ca8aba38917bd5dbc808c9b8 (patch)
tree231384ee867701cafd49871db416c94184bebad3
parent58e76a64b46791406277d574deecb081f230b910 (diff)
fdo#58539: Properly initialize a member pointer value.
Or else it would crash when loading the doc from fdo#55174. Change-Id: I21eb77f97dcab467c185dacaf9f00753bb4fc18c
-rw-r--r--sc/source/filter/oox/defnamesbuffer.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/oox/defnamesbuffer.cxx b/sc/source/filter/oox/defnamesbuffer.cxx
index d735ac40f142..488b7e36aba3 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 )