Kaydet (Commit) 3708195d authored tarafından Markus Mohrhard's avatar Markus Mohrhard

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: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 60eaa7d7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment