summaryrefslogtreecommitdiffstats
path: root/include/vcl/field.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/field.hxx')
-rw-r--r--include/vcl/field.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx
index c19865b4e76e..b149d1a39f95 100644
--- a/include/vcl/field.hxx
+++ b/include/vcl/field.hxx
@@ -39,7 +39,8 @@ class VCL_DLLPUBLIC FormatterBase
{
private:
VclPtr<Edit> mpField;
- LocaleDataWrapper* mpLocaleDataWrapper;
+ std::unique_ptr<LocaleDataWrapper>
+ mpLocaleDataWrapper;
bool mbReformat;
bool mbStrictFormat;
bool mbEmptyFieldValue;