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

Stephan Bergmann sbergman at redhat.com
Sun Nov 8 12:28:40 PST 2015


 oox/source/core/fragmenthandler2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 22a64d0500e49ef20975765d2613d951df06e9e1
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sun Nov 8 21:28:14 2015 +0100

    loplugin:stringconstant
    
    Change-Id: I33876585b5a406231954013051bc7f61045226b0

diff --git a/oox/source/core/fragmenthandler2.cxx b/oox/source/core/fragmenthandler2.cxx
index 0186d78..ba7b6ef 100644
--- a/oox/source/core/fragmenthandler2.cxx
+++ b/oox/source/core/fragmenthandler2.cxx
@@ -63,7 +63,7 @@ bool FragmentHandler2::prepareMceContext( sal_Int32 nElement, const AttributeLis
                 if (aMceState.empty() || aMceState.back() != MCE_STARTED)
                     return false;
 
-                OUString aRequires = rAttribs.getString( (XML_Requires ), OUString("none") );
+                OUString aRequires = rAttribs.getString( (XML_Requires ), "none" );
 
                 // At this point we can't access namespaces as the correct xml filter
                 // is long gone. For now let's decide depending on a list of supported


More information about the Libreoffice-commits mailing list