diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2022-09-15 10:45:34 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-09-15 19:27:05 +0200 |
commit | e46f9cc4b506c325cbe1060777bbc81fd1630f49 (patch) | |
tree | ec12275ef715d9c6944bd69c1c5d26add6ba39d1 /chart2/source/model | |
parent | f089f56aa0035ca0ee33bac752a7a92086680c24 (diff) |
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 <quikee@gmail.com>
Diffstat (limited to 'chart2/source/model')
-rw-r--r-- | chart2/source/model/main/DataTable.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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); |