diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-09 12:39:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-12 09:13:34 +0200 |
commit | 6b34ac24194ae56d2762fcb67ad1e5dcf1bf3a82 (patch) | |
tree | 95f8e6adef8319701ee0894b28a5242b3194c0e9 | |
parent | 06e4a9899085465bb352d612e06a07b8ff536892 (diff) |
loplugin:mergeclasses
Change-Id: Ic02d59708670949c3342566753882eebd086438f
-rw-r--r-- | compilerplugins/clang/mergeclasses.results | 1 | ||||
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/db.hxx | 17 |
2 files changed, 4 insertions, 14 deletions
diff --git a/compilerplugins/clang/mergeclasses.results b/compilerplugins/clang/mergeclasses.results index 9272d0721f1f..cd855bacaf28 100644 --- a/compilerplugins/clang/mergeclasses.results +++ b/compilerplugins/clang/mergeclasses.results @@ -129,7 +129,6 @@ merge frm::ITextAttributeListener with frm::OAttributeDispatcher merge frm::ITextSelectionListener with frm::ORichTextPeer merge ftp::CurlInput with InsertData merge ftp::ResultSetFactory with ResultSetFactoryI -merge helpdatafileproxy::hdf_internal::Noncopyable with helpdatafileproxy::Hdf merge i_xml_parser_event_handler with (anonymous namespace)::recently_used_file_filter merge io_stm::IRingBuffer with io_stm::MemRingBuffer merge io_stm::I_FIFO with io_stm::MemFIFO diff --git a/xmlhelp/source/cxxhelp/provider/db.hxx b/xmlhelp/source/cxxhelp/provider/db.hxx index 1fc09e47f45d..72eaf9456432 100644 --- a/xmlhelp/source/cxxhelp/provider/db.hxx +++ b/xmlhelp/source/cxxhelp/provider/db.hxx @@ -27,18 +27,6 @@ namespace helpdatafileproxy { - namespace hdf_internal - { - class Noncopyable - { - Noncopyable(const Noncopyable&) SAL_DELETED_FUNCTION; - void operator=(const Noncopyable&) SAL_DELETED_FUNCTION; - protected: - Noncopyable() {} - ~Noncopyable() {} - }; - } - class HDFData { friend class Hdf; @@ -65,7 +53,7 @@ namespace helpdatafileproxy { typedef std::unordered_map< OString,std::pair<int,int>,OStringHash > StringToValPosMap; typedef std::unordered_map< OString,OString,OStringHash > StringToDataMap; - class Hdf : hdf_internal::Noncopyable + class Hdf { OUString m_aFileURL; StringToDataMap* m_pStringToDataMap; @@ -108,7 +96,10 @@ namespace helpdatafileproxy { bool startIteration(); bool getNextKeyAndValue( HDFData& rKey, HDFData& rValue ); void stopIteration(); + Hdf(const Hdf&) SAL_DELETED_FUNCTION; + void operator=(const Hdf&) SAL_DELETED_FUNCTION; }; + } #endif |