summaryrefslogtreecommitdiff
path: root/include/vcl/i18nhelp.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-23 14:28:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-24 08:22:30 +0200
commitab2b4c0e1378072f05eee6b2c1bf6df311d6f1b3 (patch)
treed0acd7a74189c7e6d5ac50e0f604df0a52f7bd50 /include/vcl/i18nhelp.hxx
parent4acc2daacbb83869f5e576427b3743ddf80a5578 (diff)
loplugin:useuniqueptr in I18nHelper
Change-Id: I46ba0150bc4ca39fd781b8b979e960df0cffc7d4 Reviewed-on: https://gerrit.libreoffice.org/53355 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/i18nhelp.hxx')
-rw-r--r--include/vcl/i18nhelp.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/vcl/i18nhelp.hxx b/include/vcl/i18nhelp.hxx
index b3a14255ca06..a18d7fcd4958 100644
--- a/include/vcl/i18nhelp.hxx
+++ b/include/vcl/i18nhelp.hxx
@@ -25,6 +25,7 @@
#include <osl/mutex.hxx>
#include <rtl/ustring.hxx>
#include <vcl/dllapi.h>
+#include <memory>
namespace com {
namespace sun {
@@ -51,8 +52,8 @@ class VCL_DLLPUBLIC I18nHelper
LanguageTag maLanguageTag;
css::uno::Reference< css::uno::XComponentContext > m_xContext;
- LocaleDataWrapper* mpLocaleDataWrapper;
- utl::TransliterationWrapper* mpTransliterationWrapper;
+ std::unique_ptr<LocaleDataWrapper> mpLocaleDataWrapper;
+ std::unique_ptr<utl::TransliterationWrapper> mpTransliterationWrapper;
bool mbTransliterateIgnoreCase;