diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2020-02-06 21:22:05 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2020-02-07 18:47:21 +0100 |
commit | 1fb4887613f2487be6081dd62c4df30f6170e2c0 (patch) | |
tree | fd910acbe56746c4aa7fe228c80551fd69eefa54 /chart2 | |
parent | a979047eefec607b311773c7e2a71bb3ee2c6362 (diff) |
tdf#94234 Add Period as chart data label separator
Change-Id: I50b9662b22bdb10086e6aa557622566591135514
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88139
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/res_DataLabel.cxx | 2 | ||||
-rw-r--r-- | chart2/uiconfig/ui/dlg_DataLabel.ui | 1 | ||||
-rw-r--r-- | chart2/uiconfig/ui/tp_DataLabel.ui | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx index e6620d7c56c8..741325178b89 100644 --- a/chart2/source/controller/dialogs/res_DataLabel.cxx +++ b/chart2/source/controller/dialogs/res_DataLabel.cxx @@ -39,7 +39,7 @@ namespace chart namespace { -const OUStringLiteral our_aLBEntryMap[] = {" ", ", ", "; ", "\n"}; +const OUStringLiteral our_aLBEntryMap[] = {" ", ", ", "; ", "\n", ". "}; bool lcl_ReadNumberFormatFromItemSet( const SfxItemSet& rSet, sal_uInt16 nValueWhich, sal_uInt16 nSourceFormatWhich, sal_uLong& rnFormatKeyOut, bool& rbSourceFormatOut, bool& rbSourceFormatMixedStateOut ) { diff --git a/chart2/uiconfig/ui/dlg_DataLabel.ui b/chart2/uiconfig/ui/dlg_DataLabel.ui index 4050677ee964..e38ef6b67528 100644 --- a/chart2/uiconfig/ui/dlg_DataLabel.ui +++ b/chart2/uiconfig/ui/dlg_DataLabel.ui @@ -250,6 +250,7 @@ <item id="1" translatable="yes" context="dlg_DataLabel|liststoreSEPARATOR">Comma</item> <item id="2" translatable="yes" context="dlg_DataLabel|liststoreSEPARATOR">Semicolon</item> <item id="3" translatable="yes" context="dlg_DataLabel|liststoreSEPARATOR">New line</item> + <item id="4" translatable="yes" context="dlg_DataLabel|liststoreSEPARATOR">Period</item> </items> </object> <packing> diff --git a/chart2/uiconfig/ui/tp_DataLabel.ui b/chart2/uiconfig/ui/tp_DataLabel.ui index 40c26c455864..8e0ed64aa953 100644 --- a/chart2/uiconfig/ui/tp_DataLabel.ui +++ b/chart2/uiconfig/ui/tp_DataLabel.ui @@ -179,6 +179,7 @@ <item id="1" translatable="yes" context="tp_DataLabel|liststoreSEPARATOR">Comma</item> <item id="2" translatable="yes" context="tp_DataLabel|liststoreSEPARATOR">Semicolon</item> <item id="3" translatable="yes" context="tp_DataLabel|liststoreSEPARATOR">New line</item> + <item id="4" translatable="yes" context="tp_DataLabel|liststoreSEPARATOR">Period</item> </items> </object> <packing> |