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

Tor Lillqvist tml at collabora.com
Tue Jul 18 19:23:48 UTC 2017


 svx/source/svdraw/svdomedia.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 816a9ddeaace21781b3e9ad2b0c3510eaafd9970
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Jul 18 22:13:06 2017 +0300

    loplugin:oncevar
    
    Change-Id: I538903412a351ba901c2b2149e450ebc7e80916a

diff --git a/svx/source/svdraw/svdomedia.cxx b/svx/source/svdraw/svdomedia.cxx
index 73314a652095..a1cf3d03877d 100644
--- a/svx/source/svdraw/svdomedia.cxx
+++ b/svx/source/svdraw/svdomedia.cxx
@@ -430,6 +430,7 @@ void SdrMediaObj::mediaPropertiesChanged( const ::avmedia::MediaItem& rNewProper
                 OUString tempFileURL;
                 OUString tempDirURL;
                 bool bSuccess;
+                tempDirURL = "";
 #if HAVE_FEATURE_GLTF
                 if( url.endsWith(".json") )
                     bSuccess = lcl_HandleJsonPackageURL(url, GetModel(), tempFileURL, tempDirURL);


More information about the Libreoffice-commits mailing list