From ff8b445dc003ea9da8d7040030250e7f08ff2fde Mon Sep 17 00:00:00 2001 From: Cao Cuong Ngo Date: Fri, 2 Aug 2013 15:04:40 +0200 Subject: 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 --- ucbhelper/source/client/content.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ucbhelper/source') 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 -- cgit