diff options
Diffstat (limited to 'include/vcl/textdata.hxx')
-rw-r--r-- | include/vcl/textdata.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/textdata.hxx b/include/vcl/textdata.hxx index de0dabd93348..0ce7955e59f8 100644 --- a/include/vcl/textdata.hxx +++ b/include/vcl/textdata.hxx @@ -25,6 +25,7 @@ #include <rtl/ustring.hxx> #include <svl/hint.hxx> #include <vcl/dllapi.h> +#include <memory> enum class ExtTextInputAttr; @@ -126,7 +127,7 @@ public: struct TEIMEInfos { OUString aOldTextAfterStartPos; - ExtTextInputAttr* pAttribs; + std::unique_ptr<ExtTextInputAttr[]> pAttribs; TextPaM aPos; sal_Int32 nLen; bool bCursor; |