diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-03-04 16:27:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-03-04 18:16:06 +0100 |
commit | 919546585a09a755f0454c80ec5d9fdadd12d87a (patch) | |
tree | 73ec98c28c32d8af0a6bdbff50bc6be0c326e757 /ucb/source/ucp | |
parent | c7a071b064695fdb93fedf37d4ed4ea99d83e99b (diff) |
Remove unnecessary INetProtocol::VndSunStarWebdavs again
...that 65abd11d68ba9f849d89b98b6a56071411875c89 "Support for webdav:// and
webdavs:// schemes from command line" had added for no good reason. See the
discussion linked from the commit message of
d3de490437df4c9093f32e97fc185066d64c0f46 "Add vnd.sun.star.webdavs URL scheme"
why this had deliberately not been added when adding the vnd.sun.star.webdavs
scheme.
Change-Id: I5728ab0d2517dae54a3536a347a83ff4cbfc18fa
Reviewed-on: https://gerrit.libreoffice.org/50734
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavprovider.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavprovider.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav/webdavprovider.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav/webdavprovider.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav-neon/webdavprovider.cxx b/ucb/source/ucp/webdav-neon/webdavprovider.cxx index 16a0e21f351b..ee2febfe1872 100644 --- a/ucb/source/ucp/webdav-neon/webdavprovider.cxx +++ b/ucb/source/ucp/webdav-neon/webdavprovider.cxx @@ -145,7 +145,7 @@ ContentProvider::queryContent( aURL.changeScheme( INetProtocol::Http ); xCanonicId = new ::ucbhelper::ContentIdentifier( aURL.getExternalURL() ); } - else if ( aURL.isSchemeEqualTo( INetProtocol::VndSunStarWebdavs ) || + else if ( aURL.isSchemeEqualTo( VNDSUNSTARWEBDAVS_URL_SCHEME ) || aURL.isSchemeEqualTo( DAVS_URL_SCHEME ) || aURL.isSchemeEqualTo( INetProtocol::Webdavs )) { diff --git a/ucb/source/ucp/webdav-neon/webdavprovider.hxx b/ucb/source/ucp/webdav-neon/webdavprovider.hxx index 3e90c7fef5ab..c8b4679ac1fc 100644 --- a/ucb/source/ucp/webdav-neon/webdavprovider.hxx +++ b/ucb/source/ucp/webdav-neon/webdavprovider.hxx @@ -48,7 +48,7 @@ namespace webdav_ucp { // contents for. The UCB will select the provider ( i.e. in order to create // contents ) according to this scheme. #define VNDSUNSTARWEBDAV_URL_SCHEME "vnd.sun.star.webdav" -#define VNDSUNSTARWEBDAVS_URL_SCHEME "vnd.sun.star.webdavs" +#define VNDSUNSTARWEBDAVS_URL_SCHEME u"vnd.sun.star.webdavs" #define HTTP_URL_SCHEME "http" #define HTTPS_URL_SCHEME "https" #define DAV_URL_SCHEME u"dav" diff --git a/ucb/source/ucp/webdav/webdavprovider.cxx b/ucb/source/ucp/webdav/webdavprovider.cxx index b9f2f85e5493..5c3cf218da15 100644 --- a/ucb/source/ucp/webdav/webdavprovider.cxx +++ b/ucb/source/ucp/webdav/webdavprovider.cxx @@ -135,7 +135,7 @@ ContentProvider::queryContent( aURL.changeScheme(INetProtocol::Http); xCanonicId = new ::ucbhelper::ContentIdentifier( aURL.getExternalURL() ); } - else if (aURL.isSchemeEqualTo(INetProtocol::VndSunStarWebdavs) || + else if (aURL.isSchemeEqualTo(VNDSUNSTARWEBDAVS_URL_SCHEME) || aURL.isSchemeEqualTo(DAVS_URL_SCHEME) || aURL.isSchemeEqualTo(INetProtocol::Webdavs)) { diff --git a/ucb/source/ucp/webdav/webdavprovider.hxx b/ucb/source/ucp/webdav/webdavprovider.hxx index d01455b25332..4540535a4208 100644 --- a/ucb/source/ucp/webdav/webdavprovider.hxx +++ b/ucb/source/ucp/webdav/webdavprovider.hxx @@ -42,7 +42,7 @@ namespace http_dav_ucp { // contents for. The UCB will select the provider ( i.e. in order to create // contents ) according to this scheme. #define VNDSUNSTARWEBDAV_URL_SCHEME "vnd.sun.star.webdav" -#define VNDSUNSTARWEBDAVS_URL_SCHEME "vnd.sun.star.webdavs" +#define VNDSUNSTARWEBDAVS_URL_SCHEME u"vnd.sun.star.webdavs" #define HTTP_URL_SCHEME "http" #define HTTPS_URL_SCHEME "https" #define DAV_URL_SCHEME u"dav" |