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

Tor Lillqvist tml at collabora.com
Tue Oct 15 03:57:28 PDT 2013


 sw/source/filter/xml/xmltexte.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 281dc40522cfb8eb4e4b38304caa4040ee260c59
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Oct 15 13:56:24 2013 +0300

    WaE: unused variable 'aNewURL' [loplugin]
    
    Change-Id: Ie6ee864b79c29dd6ed29c4b41858187f3025cb5a

diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx
index 28344ba..6e4223f 100644
--- a/sw/source/filter/xml/xmltexte.cxx
+++ b/sw/source/filter/xml/xmltexte.cxx
@@ -205,8 +205,6 @@ void SwXMLTextParagraphExport::setTextEmbeddedGraphicURL(
     SwGrfNode *pGrfNd = GetNoTxtNode( rPropSet )->GetGrfNode();
     if( !pGrfNd->IsGrfLink() )
     {
-        OUString aNewURL = "vnd.sun.star.Package:" + rURL;
-
         // #i15411# save-as will swap all graphics in; we need to swap
         // them out again, to prevent excessive memory use
         pGrfNd->SwapOut();


More information about the Libreoffice-commits mailing list