diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-09-28 21:01:14 +0200 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2012-10-01 09:30:47 +0100 |
commit | 115add85ea9e16623a3580e3343499d0ff444a45 (patch) | |
tree | 82bc51b9e6b1c0f00af46be1cade1e726b8ca391 | |
parent | c91e260587473ec349faa9111ff60a1b492f5c66 (diff) |
vba procedures and macro names will result in crash, fdo#55174
Change-Id: I23073ecc56482670d185b39452a7d8b9d6eb38c8
Signed-off-by: Noel Power <noel.power@suse.com>
-rw-r--r-- | sc/source/filter/oox/defnamesbuffer.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/filter/oox/defnamesbuffer.cxx b/sc/source/filter/oox/defnamesbuffer.cxx index 2cf0c00d2476..8cdbcc4eefa0 100644 --- a/sc/source/filter/oox/defnamesbuffer.cxx +++ b/sc/source/filter/oox/defnamesbuffer.cxx @@ -426,6 +426,10 @@ DefinedName::getTokens() void DefinedName::convertFormula() { + // macro function or vba procedure + if(!mpScRangeData) + return; + // convert and set formula of the defined name if ( getFilterType() == FILTER_OOXML ) { |