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>
diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx
index e6620d7..7413251 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 4050677..e38ef6b 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 40c26c4..8e0ed64 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>