diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-06-06 13:23:35 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-14 11:05:22 +0000 |
commit | 3db4830c4137563f68c92aef4a31f2a39ac00748 (patch) | |
tree | b06f4e3b9d7281d30fa1b82111710b19ae94f567 /include | |
parent | 60e57960f25202f7b23bf4dbbda46780fb6032a9 (diff) |
tdf#89329: use shared_ptr for pImpl in syslocale
Change-Id: I646495e3538cb438a06765fe8cde252bad667bea
Reviewed-on: https://gerrit.libreoffice.org/25969
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/unotools/syslocale.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/unotools/syslocale.hxx b/include/unotools/syslocale.hxx index 037c6ed9a31e..58615770f8f0 100644 --- a/include/unotools/syslocale.hxx +++ b/include/unotools/syslocale.hxx @@ -45,8 +45,7 @@ class UNOTOOLS_DLLPUBLIC SvtSysLocale { friend class SvtSysLocale_Impl; // access to mutex - static SvtSysLocale_Impl* pImpl; - static sal_Int32 nRefCount; + std::shared_ptr<SvtSysLocale_Impl> pImpl; UNOTOOLS_DLLPRIVATE static ::osl::Mutex& GetMutex(); |