diff options
Diffstat (limited to 'include/editeng/fieldupdater.hxx')
-rw-r--r-- | include/editeng/fieldupdater.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/editeng/fieldupdater.hxx b/include/editeng/fieldupdater.hxx index 2fd7c4cb089f..4f87ac338f0b 100644 --- a/include/editeng/fieldupdater.hxx +++ b/include/editeng/fieldupdater.hxx @@ -11,6 +11,7 @@ #define INCLUDED_EDITENG_FIELDUPDATER_HXX #include <editeng/editengdllapi.h> +#include <memory> class EditTextObject; @@ -24,7 +25,7 @@ class FieldUpdaterImpl; */ class EDITENG_DLLPUBLIC FieldUpdater { - FieldUpdaterImpl* mpImpl; + std::unique_ptr<FieldUpdaterImpl> mpImpl; FieldUpdater(); // disabled public: |