diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-10-16 12:53:31 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-10-31 12:03:28 +0100 |
commit | 4cc2571e49de162f52ac9ec171f98732bb256517 (patch) | |
tree | fbe925fb2b021060d327073153436994cef65b7a /svtools | |
parent | c88c9b4ff2c408c0a383d5c7c658210b96e1430a (diff) |
CMIS urls: remove +atom in the internal URLS as the binding is guessed
Change-Id: I9ae0704f1e5203778e97de5843efe777ba717271
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/dialogs/ServerDetailsControls.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/dialogs/ServerDetailsControls.cxx b/svtools/source/dialogs/ServerDetailsControls.cxx index 411c6d4e65c5..a41e42cba3da 100644 --- a/svtools/source/dialogs/ServerDetailsControls.cxx +++ b/svtools/source/dialogs/ServerDetailsControls.cxx @@ -310,7 +310,7 @@ INetURLObject CmisDetailsContainer::getUrl( ) rtl_UriCharClassRelSegment, rtl_UriEncodeKeepEscapes, RTL_TEXTENCODING_UTF8 ); - sUrl = "vnd.libreoffice.cmis+atom://" + sEncodedBinding; + sUrl = "vnd.libreoffice.cmis://" + sEncodedBinding; } return INetURLObject( sUrl ); @@ -318,7 +318,7 @@ INetURLObject CmisDetailsContainer::getUrl( ) bool CmisDetailsContainer::setUrl( const INetURLObject& rUrl ) { - bool bSuccess = rUrl.GetProtocol() == INET_PROT_CMIS_ATOM; + bool bSuccess = rUrl.GetProtocol() == INET_PROT_CMIS; if ( bSuccess ) { @@ -380,7 +380,7 @@ IMPL_LINK( CmisDetailsContainer, RefreshReposHdl, void *, EMPTYARG ) rtl_UriCharClassRelSegment, rtl_UriEncodeKeepEscapes, RTL_TEXTENCODING_UTF8 ); - sUrl = "vnd.libreoffice.cmis+atom://" + sEncodedBinding; + sUrl = "vnd.libreoffice.cmis://" + sEncodedBinding; } // Get the Content |