From 15f84c9cd4bf0a58ce85868c980eeaf1dc330f5c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 11 Jan 2017 11:25:42 +0100 Subject: Some loplugin:conststringvar/stringconstant improvements: xmloff Change-Id: I05e03936d9e5518fa7ba4d9c72d5b8e241e32526 --- xmloff/source/draw/animationimport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff/source/draw/animationimport.cxx') diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx index c4c113b744a5..ac7033f91047 100644 --- a/xmloff/source/draw/animationimport.cxx +++ b/xmloff/source/draw/animationimport.cxx @@ -105,7 +105,7 @@ static ::rtl::OUString lcl_GetMediaReference(SvXMLImport const& rImport, ::rtl::OUString const& rURL) { if (rImport.IsPackageURL(rURL)) - return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.Package:")) + rURL; + return "vnd.sun.star.Package:" + rURL; return rImport.GetAbsoluteReference(rURL); } -- cgit