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

Stephan Bergmann sbergman at redhat.com
Fri Jul 1 09:48:40 UTC 2016


 filter/source/svg/svgwriter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 27b3bfbe3139a8b21b8d01a74ac2e71423f4edb6
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jul 1 11:47:37 2016 +0200

    loplugin:stringconstant
    
    Change-Id: Ie5aee19517cff0c724f03f73c0e79a057ae9c2b6

diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index 0c85260..af83e28 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -2162,7 +2162,7 @@ void SVGActionWriter::ImplStartClipRegion(sal_Int32 nClipPathId)
     if (nClipPathId == 0)
         return;
 
-    OUString aUrl = OUString("url(#") + aPrefixClipPathId + OUString::number( nClipPathId ) + ")";
+    OUString aUrl = OUStringLiteral("url(#") + aPrefixClipPathId + OUString::number( nClipPathId ) + ")";
     mrExport.AddAttribute( XML_NAMESPACE_NONE, aXMLAttrClipPath, aUrl );
     mpCurrentClipRegionElem.reset( new SvXMLElementExport( mrExport, XML_NAMESPACE_NONE, aXMLElemG, true, true ) );
 }


More information about the Libreoffice-commits mailing list