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

Stephan Bergmann sbergman at redhat.com
Tue Aug 16 09:02:35 UTC 2016


 xmloff/source/forms/elementexport.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a8a2f6474245fa957105a0c50af2115ff5b6db37
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Aug 16 11:02:07 2016 +0200

    loplugin:stringstatic
    
    Change-Id: I062c3269b98e6833b99e50c1784f531e57ea3ea7

diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx
index 36bfcd4..cd9d89b 100644
--- a/xmloff/source/forms/elementexport.cxx
+++ b/xmloff/source/forms/elementexport.cxx
@@ -1163,9 +1163,9 @@ namespace xmloff
             {   // attribute flags
                 SCAFlags::GroupName
             };
-            static const OUString pStringPropertyNames[] =
+            static const OUStringLiteral pStringPropertyNames[] =
             {   // property names
-                OUString(PROPERTY_GROUP_NAME)
+                OUStringLiteral(PROPERTY_GROUP_NAME)
             };
 
             static const sal_Int32 nIdCount = SAL_N_ELEMENTS( nStringPropertyAttributeIds );


More information about the Libreoffice-commits mailing list