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

Gabor Kelemen (via logerrit) logerrit at kemper.freedesktop.org
Fri Feb 7 17:47:53 UTC 2020


 chart2/source/controller/dialogs/res_DataLabel.cxx |    2 +-
 chart2/uiconfig/ui/dlg_DataLabel.ui                |    1 +
 chart2/uiconfig/ui/tp_DataLabel.ui                 |    1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 1fb4887613f2487be6081dd62c4df30f6170e2c0
Author:     Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Thu Feb 6 21:22:05 2020 +0100
Commit:     László Németh <nemeth at numbertext.org>
CommitDate: Fri Feb 7 18:47:21 2020 +0100

    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 at numbertext.org>
    Tested-by: László Németh <nemeth at numbertext.org>

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>


More information about the Libreoffice-commits mailing list