diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-13 10:07:19 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-04-13 11:34:32 +0000 |
commit | 0de868cd0f430efc6256926c2865530818d7b7dd (patch) | |
tree | 60e681b0e119d50022500fbc0f91cbdd4d7c979c /shell/source/unix | |
parent | 19b34c0039c6293f9b37aa70f8055aa2be28ba09 (diff) |
tdf#94306 replace boost::noncopyable in sfx2 to sot
Replace with C++11 delete copy-constructur
and copy-assignment.
Remove boost/noncopyable.hpp includes.
Add missing default ctors.
Make some overloaded ctors explicit,
seems cppcheck doesn't flag: T(const template<X>& rx).
Change-Id: I63c5a3ac84a33ea6d49868e2d9aa281ada79958e
Reviewed-on: https://gerrit.libreoffice.org/24050
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'shell/source/unix')
-rw-r--r-- | shell/source/unix/sysshell/recently_used_file_handler.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/source/unix/sysshell/recently_used_file_handler.cxx b/shell/source/unix/sysshell/recently_used_file_handler.cxx index 0d5ded137199..ee9e697e1f7f 100644 --- a/shell/source/unix/sysshell/recently_used_file_handler.cxx +++ b/shell/source/unix/sysshell/recently_used_file_handler.cxx @@ -19,7 +19,6 @@ #include <sal/config.h> -#include "boost/noncopyable.hpp" #include "osl/process.h" #include "rtl/ustring.hxx" #include "rtl/string.hxx" @@ -212,7 +211,7 @@ namespace /* private */ { class unknown_xml_format_exception {}; class recently_used_file_filter: - public i_xml_parser_event_handler, private boost::noncopyable + public i_xml_parser_event_handler { public: explicit recently_used_file_filter(recently_used_item_list_t& item_list) : @@ -229,6 +228,9 @@ namespace /* private */ { named_command_map_[TAG_GROUP] = &recently_used_item::set_groups; } + recently_used_file_filter(const recently_used_file_filter&) = delete; + recently_used_file_filter& operator=(const recently_used_file_filter&) = delete; + virtual void start_element( const string_t& /*raw_name*/, const string_t& local_name, |