summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
authorCao Cuong Ngo <cao.cuong.ngo@gmail.com>2013-08-02 15:04:40 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2013-09-02 13:51:54 +0200
commitff8b445dc003ea9da8d7040030250e7f08ff2fde (patch)
tree13bcd29d490b9052c1e235b92c10eeb36a492fff /ucbhelper
parentf6c006397896ae8b431a0ab85c89ab677d6ab981 (diff)
CMIS: add document ID when saving.
The document ID is needed in case the get object by path of the CMIS document doesn't work (like Google Drive) Change-Id: I151d5433a19caeaf4a542b69cd9e95dde58722e7
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/source/client/content.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index 2055e9cde1c4..aac47d4b2d8d 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -962,7 +962,8 @@ sal_Bool Content::transferContent( const Content& rSourceContent,
const OUString & rMimeType,
bool bMajorVersion,
const OUString & rVersionComment,
- OUString* pResultURL )
+ OUString* pResultURL,
+ const OUString & rDocumentId )
throw( CommandAbortedException, RuntimeException, Exception )
{
Reference< XUniversalContentBroker > pBroker(
@@ -1015,7 +1016,8 @@ sal_Bool Content::transferContent( const Content& rSourceContent,
getURL(), // TargetFolderURL,
rTitle,
nNameClashAction,
- rMimeType );
+ rMimeType,
+ rDocumentId );
aCommand.Argument <<= aTransferArg;
}
else