Mork: Reuse profile discovery from mozilla bootstrap

Desktop / LibreOffice - David Ostrovsky [ostrovsky.org] - 26 November 2015 07:41 EST

Mozilla bootstrap driver is used in xmlsecurity to discover default profile and induce the path to the public keys file location from certification authorities. The same profile discovery code is used in mork driver. Remove duplicated code and re-use the service from mozilla bootstrap driver in mork driver.

Change-Id: I6bc271ccf75e89eb81767186ddd9078c1f64b73d Reviewed-on: https://gerrit.libreoffice.org/20111

db8074c Mork: Reuse profile discovery from mozilla bootstrap
connectivity/Library_mork.mk | 3 -
connectivity/source/drivers/mork/MConnection.cxx | 7 +-
connectivity/source/drivers/mork/MConnection.hxx | 3 -
connectivity/source/drivers/mork/MDriver.cxx | 25 ++-
connectivity/source/drivers/mork/MDriver.hxx | 2 +
connectivity/source/drivers/mork/MNSFolders.cxx | 160 ------------------
connectivity/source/drivers/mork/MNSFolders.hxx | 34 ----
connectivity/source/drivers/mork/MNSINIParser.cxx | 95 -----------
connectivity/source/drivers/mork/MNSINIParser.hxx | 68 --------
.../source/drivers/mork/MNSProfileDiscover.cxx | 173 --------------------
.../source/drivers/mork/MNSProfileDiscover.hxx | 85 ----------
connectivity/source/drivers/mork/mork_helper.cxx | 27 ++-
12 files changed, 38 insertions(+), 644 deletions(-)

Upstream: cgit.freedesktop.org


  • Share