diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-12-20 21:08:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-01 20:21:09 +0100 |
commit | bf44ea9d2daea4a57d7add7d2d81c8309d659bb2 (patch) | |
tree | 8bd74cdfcbc05396c7d5d9593851d4cee55f11fc /include/svtools/miscopt.hxx | |
parent | 98dbb1b50af57b3070da6434825e79747f536f8a (diff) |
osl::Mutex->std::mutex in Svt*Options
Change-Id: I329849310f289e0fe7a886bbf3855f8d569767c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127830
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools/miscopt.hxx')
-rw-r--r-- | include/svtools/miscopt.hxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/svtools/miscopt.hxx b/include/svtools/miscopt.hxx index 82b15340dc63..190de033c129 100644 --- a/include/svtools/miscopt.hxx +++ b/include/svtools/miscopt.hxx @@ -24,7 +24,6 @@ #include <unotools/options.hxx> #include <memory> -namespace osl { class Mutex; } template <typename Arg, typename Ret> class Link; class LinkParamNone; @@ -64,18 +63,6 @@ class SVT_DLLPUBLIC SvtMiscOptions final : public utl::detail::Options bool IconThemeWasSetAutomatically() const; private: - - /*-**************************************************************************************************** - @short return a reference to a static mutex - @descr These class is partially threadsafe (for de-/initialization only). - All access methods aren't safe! - We create a static mutex only for one ime and use at different times. - @return A reference to a static mutex member. - *//*-*****************************************************************************************************/ - - SVT_DLLPRIVATE static ::osl::Mutex& GetInitMutex(); - - private: std::shared_ptr<SvtMiscOptions_Impl> m_pImpl; }; // class SvtMiscOptions |