summaryrefslogtreecommitdiff
path: root/svl/source/misc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-07 13:46:19 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-07 13:46:19 +0200
commit2addd7f17a9d799042ef18992ad29b582de3d6d6 (patch)
tree006a02a0d1d17598e705f7199bb7e0f34ee99f1a /svl/source/misc
parent02e0be069e57e724c51f23e2e31b77657a6a1d3d (diff)
Clean up function declarations and some unused functions
Change-Id: Id7ecd49ea03f225fc350a31437c32b4a738d7199
Diffstat (limited to 'svl/source/misc')
-rw-r--r--svl/source/misc/inethist.cxx17
1 files changed, 2 insertions, 15 deletions
diff --git a/svl/source/misc/inethist.cxx b/svl/source/misc/inethist.cxx
index 37e9c41fcba3..b199b01dceaf 100644
--- a/svl/source/misc/inethist.cxx
+++ b/svl/source/misc/inethist.cxx
@@ -22,6 +22,7 @@
#include <algorithm>
#include <string.h>
+#include <boost/noncopyable.hpp>
#include "rtl/instance.hxx"
#include "rtl/crc.h"
#include <tools/solar.h>
@@ -50,7 +51,7 @@ IMPL_PTRHINT (INetURLHistoryHint, const INetURLObject);
* INetURLHistory_Impl interface.
*
*======================================================================*/
-class INetURLHistory_Impl
+class INetURLHistory_Impl: private boost::noncopyable
{
/** head_entry.
*/
@@ -93,15 +94,6 @@ class INetURLHistory_Impl
/** Comparison.
*/
- bool operator== (const hash_entry &rOther) const
- {
- return (m_nHash == rOther.m_nHash);
- }
- bool operator< (const hash_entry &rOther) const
- {
- return (m_nHash < rOther.m_nHash);
- }
-
bool operator== (sal_uInt32 nHash) const
{
return (m_nHash == nHash);
@@ -189,11 +181,6 @@ class INetURLHistory_Impl
rThis.m_nPrev = nThis;
}
- /** Not implemented.
- */
- INetURLHistory_Impl (const INetURLHistory_Impl&);
- INetURLHistory_Impl& operator= (const INetURLHistory_Impl&);
-
public:
INetURLHistory_Impl (void);
~INetURLHistory_Impl (void);