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

Stephan Bergmann sbergman at redhat.com
Tue Oct 15 06:54:38 PDT 2013


 comphelper/source/misc/mediadescriptor.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 706c5a54f662ea58e3b3a64f189eb5120191152a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Oct 15 15:52:57 2013 +0200

    -Werror,-Wunused-variable
    
    ...I assume the whole point of 319b160320a045b1a5b302dafbc2220ee1d4d3c3 "CMIS
    file picker: it really does not like ID Mark" was to actually use the result of
    impl_normalizeURL.
    
    Change-Id: Id94c7785183d96f2a2c3f08caa72af045a1212ba

diff --git a/comphelper/source/misc/mediadescriptor.cxx b/comphelper/source/misc/mediadescriptor.cxx
index b5cd5b6..095df58 100644
--- a/comphelper/source/misc/mediadescriptor.cxx
+++ b/comphelper/source/misc/mediadescriptor.cxx
@@ -485,7 +485,7 @@ sal_Bool MediaDescriptor::impl_addInputStream( sal_Bool bLockFile )
 
         // Parse URL! Only the main part has to be used further. E.g. a jumpmark can make trouble
         OUString sNormalizedURL = impl_normalizeURL( sURL );
-        return impl_openStreamWithURL( removeFragment(sURL), bLockFile );
+        return impl_openStreamWithURL( removeFragment(sNormalizedURL), bLockFile );
     }
     catch(const css::uno::Exception& ex)
     {


More information about the Libreoffice-commits mailing list