diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-05-23 23:09:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-05-24 09:47:40 +0100 |
commit | d7ab6a7d4322a0412978638d1ddeb0a3f0131e12 (patch) | |
tree | 088f12e5692f90a5bd868765df0f1e2be8cf45c8 /tools | |
parent | 8fd58d062786a44572a087f16476cd5fc01c0408 (diff) |
use boost::noncopyable
Change-Id: I862a4223c955c3a9e9a366b0f3a85465f38e76be
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/resary.hxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/inc/tools/resary.hxx b/tools/inc/tools/resary.hxx index 429c05d933c5..cfdeee422cc4 100644 --- a/tools/inc/tools/resary.hxx +++ b/tools/inc/tools/resary.hxx @@ -28,6 +28,7 @@ #ifndef _TOOLS_RESARY_HXX #define _TOOLS_RESARY_HXX +#include "boost/noncopyable.hpp" #include <vector> #include "tools/toolsdllapi.h" #include <tools/string.hxx> @@ -54,7 +55,7 @@ struct ImplResStringItem #define RESARRAY_INDEX_NOTFOUND (0xffffffff) -class TOOLS_DLLPUBLIC ResStringArray +class TOOLS_DLLPUBLIC ResStringArray : private boost::noncopyable { private: // --------------------- @@ -84,10 +85,6 @@ class TOOLS_DLLPUBLIC ResStringArray sal_uInt32 Count() const { return sal_uInt32(m_aStrings.size()); } sal_uInt32 FindIndex( long nValue ) const; - - private: - ResStringArray( const ResStringArray& ); - ResStringArray& operator=( const ResStringArray& ); }; #endif // _TOOLS_RESARY_HXX |