diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-12 09:43:56 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-12 09:43:56 +0200 |
commit | cd1e2f5cc3a97d48b12d858cd74275f51c4de268 (patch) | |
tree | d680d01e671e56b3d498972f44c8bd3b9a80baa9 /chart2 | |
parent | tdf75573 docx - complete frames before starting alternate streams (diff) | |
download | core-cd1e2f5cc3a97d48b12d858cd74275f51c4de268.tar.gz core-cd1e2f5cc3a97d48b12d858cd74275f51c4de268.zip |
Avoid global data with (non-constexpr) ctors/dtors
Change-Id: I787ec685275d119dd4eea86f51b6dd85bc0260d1
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/res_DataLabel.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx index 7bcb6053909a..8d4a31cc315b 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 ) { |