summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-15 15:52:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-15 15:52:57 +0200
commit706c5a54f662ea58e3b3a64f189eb5120191152a (patch)
treef3b8ec8fe264442b606e11648dbe754c9f394b2d /comphelper
parent1f78e02a2a9205f2c8f8132395ed1d60da3e0058 (diff)
-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
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/mediadescriptor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/mediadescriptor.cxx b/comphelper/source/misc/mediadescriptor.cxx
index b5cd5b669a33..095df588f205 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)
{