[Libreoffice-commits] core.git: chart2/source

Markus Mohrhard markus.mohrhard at googlemail.com
Sat Oct 10 07:55:22 PDT 2015


 chart2/source/controller/sidebar/ChartLinePanel.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 82cf6c67373290c65523431e845d00c67f08be42
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sat Oct 10 16:54:43 2015 +0200

    also update line panel for axis, related tdf#94933
    
    Change-Id: Ie280fa01dbe25287d01b7f36d152ee55ce5dbe07

diff --git a/chart2/source/controller/sidebar/ChartLinePanel.cxx b/chart2/source/controller/sidebar/ChartLinePanel.cxx
index 0cae040..1bb4bfc 100644
--- a/chart2/source/controller/sidebar/ChartLinePanel.cxx
+++ b/chart2/source/controller/sidebar/ChartLinePanel.cxx
@@ -136,7 +136,10 @@ ChartLinePanel::ChartLinePanel(vcl::Window* pParent,
     mbModelValid(true),
     maLineColorWrapper(mxModel, getColorToolBoxControl(mpTBColor.get()), "LineColor")
 {
-    std::vector<ObjectType> aAcceptedTypes { OBJECTTYPE_PAGE, OBJECTTYPE_DIAGRAM, OBJECTTYPE_DATA_SERIES, OBJECTTYPE_TITLE, OBJECTTYPE_LEGEND, OBJECTTYPE_DATA_CURVE, OBJECTTYPE_DATA_AVERAGE_LINE};
+    std::vector<ObjectType> aAcceptedTypes { OBJECTTYPE_PAGE, OBJECTTYPE_DIAGRAM,
+        OBJECTTYPE_DATA_SERIES, OBJECTTYPE_TITLE, OBJECTTYPE_LEGEND, OBJECTTYPE_DATA_CURVE,
+        OBJECTTYPE_DATA_AVERAGE_LINE,
+        OBJECTTYPE_AXIS};
     mxSelectionListener->setAcceptedTypes(aAcceptedTypes);
     Initialize();
 }


More information about the Libreoffice-commits mailing list