diff options
author | Cao Cuong Ngo <cao.cuong.ngo@gmail.com> | 2013-08-02 15:04:40 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2013-09-02 13:51:54 +0200 |
commit | ff8b445dc003ea9da8d7040030250e7f08ff2fde (patch) | |
tree | 13bcd29d490b9052c1e235b92c10eeb36a492fff /include/ucbhelper/content.hxx | |
parent | f6c006397896ae8b431a0ab85c89ab677d6ab981 (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 'include/ucbhelper/content.hxx')
-rw-r--r-- | include/ucbhelper/content.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ucbhelper/content.hxx b/include/ucbhelper/content.hxx index 0c5a2b45db5b..b09680299fce 100644 --- a/include/ucbhelper/content.hxx +++ b/include/ucbhelper/content.hxx @@ -670,6 +670,7 @@ public: * @param rCommentVersion contains the comment to use for checkin operations * @param rResultURL is a hacky way to get the update URL after the operation in * case there was a change (introduced for the checkin operation) + * @param rDocumentId is the document Id ( in case of CMIS ). */ sal_Bool transferContent( const Content& rSourceContent, @@ -679,7 +680,8 @@ public: const OUString & rMimeType = OUString( ), bool bMajorVersion = false, const OUString & rCommentVersion = OUString( ), - OUString* pResultURL = NULL ) + OUString* pResultURL = NULL, + const OUString & rDocumentId = OUString( ) ) throw( ::com::sun::star::ucb::CommandAbortedException, ::com::sun::star::uno::RuntimeException, ::com::sun::star::uno::Exception ); |