summaryrefslogtreecommitdiff
path: root/include/svtools/ctrltool.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svtools/ctrltool.hxx')
-rw-r--r--include/svtools/ctrltool.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svtools/ctrltool.hxx b/include/svtools/ctrltool.hxx
index 3b11eac75e36..4c642df4be47 100644
--- a/include/svtools/ctrltool.hxx
+++ b/include/svtools/ctrltool.hxx
@@ -144,7 +144,8 @@ private:
OUString maBoldItalic;
OUString maBlack;
OUString maBlackItalic;
- sal_IntPtr* mpSizeAry;
+ mutable std::unique_ptr<sal_IntPtr[]>
+ mpSizeAry;
VclPtr<OutputDevice> mpDev;
VclPtr<OutputDevice> mpDev2;
std::vector<std::unique_ptr<ImplFontListNameInfo>> m_Entries;