diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-09-26 10:48:07 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-09-26 12:42:05 +0200 |
commit | 3708195d0c94cf1c50febc49fcfa6a9ff6855336 (patch) | |
tree | 7253552d71aef6f7eb2a912ee778aa157371cf2b /chart2 | |
parent | 60eaa7d7b856bc17b2a49a510be6d3c50851cb92 (diff) |
tdf#119882, don't change the chart model from the chart view
Change-Id: I1c909f6e1984bd4b09c3b67c19659dc276ac3229
Reviewed-on: https://gerrit.libreoffice.org/60984
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/AxisHelper.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chart2/source/tools/AxisHelper.cxx b/chart2/source/tools/AxisHelper.cxx index 9fc305abb5da..e0a6f4623d7e 100644 --- a/chart2/source/tools/AxisHelper.cxx +++ b/chart2/source/tools/AxisHelper.cxx @@ -154,8 +154,6 @@ sal_Int32 AxisHelper::getExplicitNumberFormatKeyForAxis( xProp->getPropertyValue(CHART_UNONAME_LINK_TO_SRC_NUMFMT) >>= bLinkToSource; xProp->getPropertyValue(CHART_UNONAME_NUMFMT) >>= nNumberFormatKey; - sal_Int32 nOldNumberFormat = nNumberFormatKey; - if (bLinkToSource) { bool bFormatSet = false; @@ -329,9 +327,6 @@ sal_Int32 AxisHelper::getExplicitNumberFormatKeyForAxis( } } } - - if (nOldNumberFormat != nNumberFormatKey) - xProp->setPropertyValue(CHART_UNONAME_NUMFMT, uno::Any(nNumberFormatKey)); } return nNumberFormatKey; |