summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-12-20 21:08:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-01-01 20:21:09 +0100
commitbf44ea9d2daea4a57d7add7d2d81c8309d659bb2 (patch)
tree8bd74cdfcbc05396c7d5d9593851d4cee55f11fc /include/svtools
parent98dbb1b50af57b3070da6434825e79747f536f8a (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')
-rw-r--r--include/svtools/miscopt.hxx13
-rw-r--r--include/svtools/slidesorterbaropt.hxx12
2 files changed, 0 insertions, 25 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
diff --git a/include/svtools/slidesorterbaropt.hxx b/include/svtools/slidesorterbaropt.hxx
index 4456a857513b..9250838fafff 100644
--- a/include/svtools/slidesorterbaropt.hxx
+++ b/include/svtools/slidesorterbaropt.hxx
@@ -23,8 +23,6 @@
#include <unotools/options.hxx>
#include <memory>
-namespace osl { class Mutex; }
-
/** forward declaration to our private date container implementation
We use these class as internal member to support small memory requirements.
@@ -58,16 +56,6 @@ class SVT_DLLPUBLIC SvtSlideSorterBarOptions final : public utl::detail::Options
private:
- /** return a reference to a static mutex
-
- 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<SvtSlideSorterBarOptions_Impl> m_pImpl;
};