diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-02-15 11:15:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-02-15 13:31:11 +0000 |
commit | 83fffbbd5eda463c4e344016bfec74fa5b2020c2 (patch) | |
tree | 63068a811645edc83f23e972464dc8c9f0b0715a /xmlsecurity/source/xmlsec/nss | |
parent | 1f43a0dd760ad832ab6963d670ba13f0f43900fe (diff) |
new comphelper::SingletonRef
to replace salhelper::SingletonRef, but using a std::mutex instead of an
osl::Mutex
Change-Id: Ibf88a3778f47300c08b8ec9ee58ed24eb83aed7b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147046
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/source/xmlsec/nss')
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/nssinitializer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx index 71bff4dc5c0d..69e165c550fc 100644 --- a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx +++ b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx @@ -33,7 +33,7 @@ #include <sal/log.hxx> #include <comphelper/diagnose_ex.hxx> #include <unotools/tempfile.hxx> -#include <salhelper/singletonref.hxx> +#include <comphelper/singletonref.hxx> #include <comphelper/sequence.hxx> #include <nss/nssinitializer.hxx> @@ -93,9 +93,9 @@ public: } }; -salhelper::SingletonRef<InitNSSPrivate>* getInitNSSPrivate() +comphelper::SingletonRef<InitNSSPrivate>* getInitNSSPrivate() { - static salhelper::SingletonRef<InitNSSPrivate> aInitNSSPrivate; + static comphelper::SingletonRef<InitNSSPrivate> aInitNSSPrivate; return &aInitNSSPrivate; } |