summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-10-16 12:53:31 +0200
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-10-31 12:03:28 +0100
commit4cc2571e49de162f52ac9ec171f98732bb256517 (patch)
treefbe925fb2b021060d327073153436994cef65b7a /svtools
parentc88c9b4ff2c408c0a383d5c7c658210b96e1430a (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.cxx6
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