chart2/source/model/main/DataTable.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit e46f9cc4b506c325cbe1060777bbc81fd1630f49
Author:     Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk>
AuthorDate: Thu Sep 15 10:45:34 2022 +0200
Commit:     Tomaž Vajngerl <qui...@gmail.com>
CommitDate: Thu Sep 15 19:27:05 2022 +0200

    chart2: Set the data table fill style to default to NONE
    
    Change-Id: I57e463bf110fd3818ec586bbab1db75ff1101ff6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139972
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>

diff --git a/chart2/source/model/main/DataTable.cxx 
b/chart2/source/model/main/DataTable.cxx
index d21febb14e47..d7d3bf2069c1 100644
--- a/chart2/source/model/main/DataTable.cxx
+++ b/chart2/source/model/main/DataTable.cxx
@@ -18,6 +18,7 @@
 
 #include <com/sun/star/beans/PropertyAttribute.hpp>
 #include <com/sun/star/uno/XComponentContext.hpp>
+#include <com/sun/star/drawing/FillStyle.hpp>
 
 #include <algorithm>
 
@@ -75,6 +76,9 @@ private:
         ::chart::PropertyHelper::setPropertyValue(
             aMap, ::chart::LinePropertiesHelper::PROP_LINE_WIDTH, 
uno::Any(sal_Int32(1)));
 
+        ::chart::PropertyHelper::setPropertyValueDefault(
+            aMap, ::chart::FillProperties::PROP_FILL_STYLE, 
drawing::FillStyle_NONE);
+
         float fDefaultCharHeight = 10.0;
         ::chart::PropertyHelper::setPropertyValue(
             aMap, ::chart::CharacterProperties::PROP_CHAR_CHAR_HEIGHT, 
fDefaultCharHeight);

Reply via email to