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

Stephan Bergmann sbergman at redhat.com
Tue Jul 29 06:00:01 PDT 2014


 xmloff/source/draw/shapeexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit edffb444c07f4a928506436a5b50de3fa0ea4bf3
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jul 29 14:59:33 2014 +0200

    loplugin:stringconcat
    
    Change-Id: Iaa5df366118b8766b47e7bd4e9875c44c0e5d8d9

diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 2d23a8b..da6785b 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -3264,7 +3264,7 @@ static void lcl_StoreGltfFallback(
                     xFallbackTransaction->commit();
                 }
 
-                const OUString sFallbackURL( sUrlPath.copy(0,sUrlPath.lastIndexOf("/")) + "/" + "Fallbacks" + "/" + sModelName + ".png");
+                const OUString sFallbackURL( sUrlPath.copy(0,sUrlPath.lastIndexOf("/")) + "/Fallbacks/" + sModelName + ".png");
                 rExport.AddAttribute(XML_NAMESPACE_XLINK, XML_HREF, sFallbackURL );
                 rExport.AddAttribute( XML_NAMESPACE_XLINK, XML_TYPE, XML_SIMPLE );
                 rExport.AddAttribute( XML_NAMESPACE_XLINK, XML_SHOW, XML_EMBED );


More information about the Libreoffice-commits mailing list