From 063d91ee77994f7827e3cff1ff0a8bb008cafa68 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 14 May 2013 16:25:41 -0400 Subject: Fix memory leak. Change-Id: I90e419d19f4565f7f20603358308fd7aeba83190 --- sc/inc/textuno.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sc/inc/textuno.hxx') diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx index 19f9effa4e0d..e531c8ebcb2e 100644 --- a/sc/inc/textuno.hxx +++ b/sc/inc/textuno.hxx @@ -35,6 +35,8 @@ #include "rtl/ref.hxx" #include "scdllapi.h" +#include + class EditEngine; class EditTextObject; class SvxEditEngineForwarder; @@ -110,7 +112,7 @@ public: // ScHeaderFooterTextData: shared data between sub objects of a ScHeaderFooterTextObj -class ScHeaderFooterTextData +class ScHeaderFooterTextData : boost::noncopyable { private: EditTextObject* mpTextObj; -- cgit