diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-07-25 18:10:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-26 10:58:14 +0200 |
commit | 6bb901a1282373e747fcca5deaa9dbe92488812c (patch) | |
tree | c9a048e8ee7482096004be3d36b3598f7c481f86 /include/unotools | |
parent | sw bibliography, local copy: add initial UI / browse button (diff) | |
download | core-6bb901a1282373e747fcca5deaa9dbe92488812c.tar.gz core-6bb901a1282373e747fcca5deaa9dbe92488812c.zip |
use officecfg for default options
Change-Id: I5241c21fa097c104f1131db61787191d019a5de4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119485
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/defaultoptions.hxx | 20 | ||||
-rw-r--r-- | include/unotools/itemholderbase.hxx | 2 |
2 files changed, 3 insertions, 19 deletions
diff --git a/include/unotools/defaultoptions.hxx b/include/unotools/defaultoptions.hxx index 6192522c5002..dfa07fb5e100 100644 --- a/include/unotools/defaultoptions.hxx +++ b/include/unotools/defaultoptions.hxx @@ -16,29 +16,15 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOTOOLS_DEFAULTOPTIONS_HXX -#define INCLUDED_UNOTOOLS_DEFAULTOPTIONS_HXX +#pragma once #include <unotools/unotoolsdllapi.h> #include <rtl/ustring.hxx> -#include <unotools/options.hxx> #include <unotools/pathoptions.hxx> -#include <memory> -class SvtDefaultOptions_Impl; - -class SAL_WARN_UNUSED UNOTOOLS_DLLPUBLIC SvtDefaultOptions final : public utl::detail::Options +namespace SvtDefaultOptions { -private: - std::shared_ptr<SvtDefaultOptions_Impl> pImpl; - -public: - SvtDefaultOptions(); - virtual ~SvtDefaultOptions() override; - - OUString GetDefaultPath(SvtPathOptions::Paths nId) const; +UNOTOOLS_DLLPUBLIC OUString GetDefaultPath(SvtPathOptions::Paths nId); }; -#endif // INCLUDED_UNOTOOLS_DEFAULTOPTIONS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/unotools/itemholderbase.hxx b/include/unotools/itemholderbase.hxx index 579046511e38..0d7390e20537 100644 --- a/include/unotools/itemholderbase.hxx +++ b/include/unotools/itemholderbase.hxx @@ -39,8 +39,6 @@ enum class EItem Compatibility , CTLOptions , // 2 - DefaultOptions , - EventConfig , HistoryOptions , |