diff options
author | Cao Cuong Ngo <cao.cuong.ngo@gmail.com> | 2013-08-16 16:41:22 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2013-09-02 13:51:55 +0200 |
commit | b378e754ae892a044460cfbe33ccc2e51c01f5ca (patch) | |
tree | b8070908365a5b6d278bfed1e63cedee9e89aa4a /comphelper/source/misc | |
parent | 19b76cc20cec1802c32248b3a2a4fcfcea1b58b6 (diff) |
CMIS: fix file saving issue
Change-Id: I60cccb841fea5ce493f004c73ecf50468019f860
Diffstat (limited to 'comphelper/source/misc')
-rw-r--r-- | comphelper/source/misc/mediadescriptor.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/comphelper/source/misc/mediadescriptor.cxx b/comphelper/source/misc/mediadescriptor.cxx index fd2ff28c0e5f..3d327af8589b 100644 --- a/comphelper/source/misc/mediadescriptor.cxx +++ b/comphelper/source/misc/mediadescriptor.cxx @@ -484,7 +484,10 @@ sal_Bool MediaDescriptor::impl_addInputStream( sal_Bool bLockFile ) throw css::uno::Exception("Found no URL.", css::uno::Reference< css::uno::XInterface >()); - return impl_openStreamWithURL( removeFragment(sURL), bLockFile ); + // Parse URL! Only the main part has to be used further. E.g. a jumpmark can make trouble + // We need to keep the full URL with Mark to store the Object ID + // in CMIS UCB + return impl_openStreamWithURL( sURL, bLockFile ); } catch(const css::uno::Exception& ex) { |