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

Stephan Bergmann sbergman at redhat.com
Tue Jul 12 07:44:19 UTC 2016


 chart2/source/controller/dialogs/res_DataLabel.cxx |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

New commits:
commit cd1e2f5cc3a97d48b12d858cd74275f51c4de268
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jul 12 09:43:56 2016 +0200

    Avoid global data with (non-constexpr) ctors/dtors
    
    Change-Id: I787ec685275d119dd4eea86f51b6dd85bc0260d1

diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx
index 7bcb605..8d4a31c 100644
--- a/chart2/source/controller/dialogs/res_DataLabel.cxx
+++ b/chart2/source/controller/dialogs/res_DataLabel.cxx
@@ -40,10 +40,11 @@ namespace chart
 namespace
 {
 
-const OUString our_aLBEntryMap[] = {" ",
-                                    ", ",
-                                    "; ",
-                                    "\n"};
+const OUStringLiteral our_aLBEntryMap[] = {
+    OUStringLiteral(" "),
+    OUStringLiteral(", "),
+    OUStringLiteral("; "),
+    OUStringLiteral("\n")};
 
 bool lcl_ReadNumberFormatFromItemSet( const SfxItemSet& rSet, sal_uInt16 nValueWhich, sal_uInt16 nSourceFormatWhich, sal_uLong& rnFormatKeyOut, bool& rbSourceFormatOut, bool& rbSourceFormatMixedStateOut )
 {


More information about the Libreoffice-commits mailing list