diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-01 10:00:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-01 08:55:38 +0000 |
commit | 3c43a4810f505c071bcc99aeda47162a4b7b1681 (patch) | |
tree | b8f06caae940f47d4d5c0e71677c2afae3c217d5 /sc/source/filter/inc/xlpage.hxx | |
parent | 229f10c6d0b88f795038063ce7af61e40a3be35a (diff) |
tdf#94306 Replace boost::noncopyable in sc/source
and sc/workben with C++11 delete copy ctors
add default ctors needed missing
delete some ctors instead of making them private
Change-Id: I0a131f95444ef040e5d580d8326f372b8167e19b
Reviewed-on: https://gerrit.libreoffice.org/23717
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/source/filter/inc/xlpage.hxx')
-rw-r--r-- | sc/source/filter/inc/xlpage.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sc/source/filter/inc/xlpage.hxx b/sc/source/filter/inc/xlpage.hxx index b60d21a3f4a9..9fe993c35842 100644 --- a/sc/source/filter/inc/xlpage.hxx +++ b/sc/source/filter/inc/xlpage.hxx @@ -21,7 +21,6 @@ #define INCLUDED_SC_SOURCE_FILTER_INC_XLPAGE_HXX #include <tools/gen.hxx> -#include <boost/noncopyable.hpp> #include "xltools.hxx" #include <memory> @@ -90,8 +89,12 @@ const sal_uInt16 EXC_PAPERSIZE_USER = 0xFFFF; class SvxBrushItem; /** Contains all page (print) settings for a single sheet. */ -struct XclPageData : private boost::noncopyable +struct XclPageData { + /** noncopyable */ + XclPageData(const XclPageData&) = delete; + const XclPageData& operator=(const XclPageData&) = delete; + typedef std::unique_ptr< SvxBrushItem > SvxBrushItemPtr; ScfUInt16Vec maHorPageBreaks; /// Horizontal page breaks. |