diff options
author | Vasily Melenchuk <Vasily.Melenchuk@cib.de> | 2018-01-25 16:00:07 +0300 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2018-02-01 12:40:22 +0100 |
commit | 65abd11d68ba9f849d89b98b6a56071411875c89 (patch) | |
tree | 2dfab863a55ebb37a464b0209f5b74f229c71d00 /include/tools/urlobj.hxx | |
parent | split out SFX_METRIC_ITEM into separate field (diff) | |
download | core-65abd11d68ba9f849d89b98b6a56071411875c89.tar.gz core-65abd11d68ba9f849d89b98b6a56071411875c89.zip |
Support for webdav:// and webdavs:// schemes from command line
We have currently support for WebDAV schemes as vnd.sun.star.webdav://
but it is not user and tools friendly.
Some related refactoring in ucb to reuse existing code instead of
manual parsing of URLs.
Change-Id: Ib14411796d6cf11afd80d5132abe67d4e46a42e1
Reviewed-on: https://gerrit.libreoffice.org/48585
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'include/tools/urlobj.hxx')
-rw-r--r-- | include/tools/urlobj.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx index fc03b9aa8f65..dca8f6c07b74 100644 --- a/include/tools/urlobj.hxx +++ b/include/tools/urlobj.hxx @@ -54,6 +54,9 @@ enum class INetProtocol File, Mailto, VndSunStarWebdav, + VndSunStarWebdavs, + Webdav, + Webdavs, PrivSoffice, VndSunStarHelp, Https, @@ -943,6 +946,7 @@ public: static bool IsCaseSensitive() { return true; } + void changeScheme(INetProtocol eTargetScheme); private: // General Structure: @@ -1145,9 +1149,6 @@ private: TOOLS_DLLPRIVATE static bool scanIPv6reference( sal_Unicode const *& rBegin, sal_Unicode const * pEnd); - -private: - void changeScheme(INetProtocol eTargetScheme); }; // static |