summaryrefslogtreecommitdiff
path: root/i18npool/inc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-07-18 11:41:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-18 20:47:42 +0200
commit4799ee69d7193fcb1e8c105ef6c8b4ddc5e6721b (patch)
tree5ea883d5d2d13819ee552688d7ae8273c5e5d887 /i18npool/inc
parent2b9afb52a96b86cb6f1aab2bdccca3b19566a8c7 (diff)
osl::Mutex->std::mutex in NumberFormatCodeMapper
Change-Id: I79d95ca1e5aa29d0a416d8870430062fd2b9936a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119130 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18npool/inc')
-rw-r--r--i18npool/inc/numberformatcode.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/i18npool/inc/numberformatcode.hxx b/i18npool/inc/numberformatcode.hxx
index 2b1a5006653d..d51abd7de74b 100644
--- a/i18npool/inc/numberformatcode.hxx
+++ b/i18npool/inc/numberformatcode.hxx
@@ -27,6 +27,7 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <deque>
+#include <mutex>
#include <utility>
namespace com::sun::star::i18n { class XLocaleData5; }
@@ -55,7 +56,7 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
private:
- osl::Mutex maMutex;
+ std::mutex maMutex;
css::uno::Reference < css::i18n::XLocaleData5 > m_xLocaleData;
typedef std::pair< css::lang::Locale, css::uno::Sequence< css::i18n::FormatElement > > FormatElementCacheItem;
std::deque < FormatElementCacheItem > m_aFormatElementCache;