diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-05-14 16:25:41 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-05-20 20:13:06 -0400 |
commit | 063d91ee77994f7827e3cff1ff0a8bb008cafa68 (patch) | |
tree | 29ed4946e3f03b25cdfe1f7d801a90ca1f4d771c /sc/inc | |
parent | 504615c541283345e5c1725fc239fac75502d72e (diff) |
Fix memory leak.
Change-Id: I90e419d19f4565f7f20603358308fd7aeba83190
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/textuno.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
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 <boost/noncopyable.hpp> + 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; |