diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/chart2uno.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx index 18378bdfedcd..e36fba94d71e 100644 --- a/sc/source/ui/unoobj/chart2uno.cxx +++ b/sc/source/ui/unoobj/chart2uno.cxx @@ -532,7 +532,14 @@ void Chart2Positioner::glueState() } ScComplexRefData aData; - ScRefTokenHelper::getDoubleRefDataFromToken(aData, mrRefTokens.front()); + if (!ScRefTokenHelper::getDoubleRefDataFromToken(aData, mrRefTokens.front())) + { + SAL_WARN("sc", "Chart2Positioner::glueState getDoubleRefDataFromToken failed"); + invalidateGlue(); + mnStartCol = 0; + mnStartRow = 0; + return; + } mnStartCol = aData.Ref1.Col(); mnStartRow = aData.Ref1.Row(); |