summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/inputhdl.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2016-11-23 20:31:50 -0500
committerKohei Yoshida <libreoffice@kohei.us>2016-11-24 02:34:09 +0000
commitc3433b87985486bfe5352fda381bb9683d82b1a5 (patch)
tree818eb1ef685fd42289ef5b924f999fff843737a3 /sc/source/ui/inc/inputhdl.hxx
parentd33a81c24ec0b4a05eb0b69fa85c5fd7eb8ec5a7 (diff)
Use std::unique_ptr for the edit engine member of ScInputHandler.
Change-Id: I46c9ac46f2b7d9f803fe5f09c3667c3feb1e65d0 Reviewed-on: https://gerrit.libreoffice.org/31139 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'sc/source/ui/inc/inputhdl.hxx')
-rw-r--r--sc/source/ui/inc/inputhdl.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/inc/inputhdl.hxx b/sc/source/ui/inc/inputhdl.hxx
index 7a8e67352250..68dc71930cac 100644
--- a/sc/source/ui/inc/inputhdl.hxx
+++ b/sc/source/ui/inc/inputhdl.hxx
@@ -32,6 +32,7 @@
#include <editeng/svxenum.hxx>
#include <set>
+#include <memory>
class ScDocument;
class ScTabViewShell;
@@ -55,7 +56,7 @@ class ScInputHandler final
private:
VclPtr<ScInputWindow> pInputWin;
- ScEditEngineDefaulter* pEngine; ///< Edited data in the sheet (when the user clicks into the sheet, and starts writing there).
+ std::unique_ptr<ScEditEngineDefaulter> mpEditEngine; ///< Edited data in the sheet (when the user clicks into the sheet, and starts writing there).
EditView* pTableView; // associated active EditView
EditView* pTopView; // EditView in the input row