summaryrefslogtreecommitdiff
path: root/sc/inc/textuno.hxx
diff options
context:
space:
mode:
authorSteven Guo <steventimothyguo@gmail.com>2016-03-08 22:45:17 -0800
committerStephan Bergmann <sbergman@redhat.com>2016-04-05 06:57:31 +0000
commitbe3c2ff9233e8d4c5afe9c696cb5a60b24b25efc (patch)
tree89d3be1ac1f9cf210d78aacdde94fa45f10ec692 /sc/inc/textuno.hxx
parentaf23aa9a763bd8ebe160b95a48e1b0e650ec9ed3 (diff)
tdf#94306 Replace boost::noncopyable with plain C++11 deleted copy ctors
Replaced boost::noncopyable with play C++11 deleted copy ctors in sc/inc/* files. Change-Id: I2e6310f2f2bac673dd3b5d14e80ce80a98795672 Reviewed-on: https://gerrit.libreoffice.org/23059 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/inc/textuno.hxx')
-rw-r--r--sc/inc/textuno.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx
index ef98720e74ca..3316e755597a 100644
--- a/sc/inc/textuno.hxx
+++ b/sc/inc/textuno.hxx
@@ -35,8 +35,6 @@
#include <memory>
-#include <boost/noncopyable.hpp>
-
class EditEngine;
class EditTextObject;
class SvxEditEngineForwarder;
@@ -110,7 +108,7 @@ public:
// ScHeaderFooterTextData: shared data between sub objects of a ScHeaderFooterTextObj
-class ScHeaderFooterTextData : private boost::noncopyable
+class ScHeaderFooterTextData
{
private:
std::unique_ptr<EditTextObject> mpTextObj;
@@ -121,6 +119,9 @@ private:
bool bDataValid;
public:
+ ScHeaderFooterTextData() = default;
+ ScHeaderFooterTextData(const ScHeaderFooterTextData&) = delete;
+ const ScHeaderFooterTextData& operator=(const ScHeaderFooterTextData&) = delete;
ScHeaderFooterTextData(
rtl::Reference<ScHeaderFooterContentObj> const & rContent, sal_uInt16 nP, const EditTextObject* pTextObj);
~ScHeaderFooterTextData();