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/xml/xmlimprt.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/xml/xmlimprt.hxx')
-rw-r--r-- | sc/source/filter/xml/xmlimprt.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/source/filter/xml/xmlimprt.hxx b/sc/source/filter/xml/xmlimprt.hxx index 395c0e871b52..18aaddf3accb 100644 --- a/sc/source/filter/xml/xmlimprt.hxx +++ b/sc/source/filter/xml/xmlimprt.hxx @@ -42,8 +42,6 @@ #include <com/sun/star/util/XNumberFormatTypes.hpp> #include <com/sun/star/sheet/XSheetCellRangeContainer.hpp> -#include <boost/noncopyable.hpp> - #include <memory> #include <unordered_map> #include <map> @@ -820,8 +818,11 @@ typedef std::vector<ScMyImportValidation> ScMyImportValidations; class ScMyStylesImportHelper; class ScXMLEditAttributeMap; -class ScXMLImport: public SvXMLImport, private boost::noncopyable +class ScXMLImport: public SvXMLImport { + ScXMLImport(const ScXMLImport&) = delete; + const ScXMLImport& operator=(const ScXMLImport&) = delete; + typedef std::unordered_map< OUString, sal_Int16, OUStringHash > CellTypeMap; typedef ::std::map<SCTAB, std::unique_ptr<ScMyNamedExpressions>> SheetNamedExpMap; |