diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-07-30 14:13:32 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-07-30 14:13:32 +0200 |
commit | 025fb3c66085ebd7cbb3f4bad01d777f7bc54c2e (patch) | |
tree | 9cedf0629cca893b46c827bb6d74519b850c9546 /chart2 | |
parent | 0b4c89c2c1ec9865466446e07073b83ea6b508c8 (diff) |
prevent panel update when updating values from panel
Change-Id: I10debb5119ce78638db42315594cda4d65092fb0
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/sidebar/ChartLinePanel.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chart2/source/controller/sidebar/ChartLinePanel.cxx b/chart2/source/controller/sidebar/ChartLinePanel.cxx index d677e205cac5..eead55d38a35 100644 --- a/chart2/source/controller/sidebar/ChartLinePanel.cxx +++ b/chart2/source/controller/sidebar/ChartLinePanel.cxx @@ -224,6 +224,7 @@ void ChartLinePanel::setLineStyle(const XLineStyleItem& rItem) if (!xPropSet.is()) return; + PreventUpdate aPreventUpdate(mbUpdate); xPropSet->setPropertyValue("LineStyle", css::uno::makeAny(rItem.GetValue())); } @@ -235,6 +236,7 @@ void ChartLinePanel::setLineDash(const XLineDashItem& rItem) if (!xPropSet.is()) return; + PreventUpdate aPreventUpdate(mbUpdate); css::uno::Any aAny; rItem.QueryValue(aAny, MID_LINEDASH); OUString aDashName = PropertyHelper::addLineDashUniqueNameToTable(aAny, @@ -260,6 +262,7 @@ void ChartLinePanel::setLineJoint(const XLineJointItem* pItem) if (!xPropSet.is()) return; + PreventUpdate aPreventUpdate(mbUpdate); if (pItem) xPropSet->setPropertyValue("LineJoint", css::uno::makeAny(pItem->GetValue())); } @@ -276,6 +279,7 @@ void ChartLinePanel::setLineTransparency(const XLineTransparenceItem& rItem) if (!xPropSet.is()) return; + PreventUpdate aPreventUpdate(mbUpdate); xPropSet->setPropertyValue("LineTransparence", css::uno::makeAny(rItem.GetValue())); } @@ -287,6 +291,7 @@ void ChartLinePanel::setLineWidth(const XLineWidthItem& rItem) if (!xPropSet.is()) return; + PreventUpdate aPreventUpdate(mbUpdate); xPropSet->setPropertyValue("LineWidth", css::uno::makeAny(rItem.GetValue())); } |