diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-06 19:58:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-09 13:28:36 +0000 |
commit | 66c3510ed3344e7e87564c3de39cf5531e688c6e (patch) | |
tree | d9898c468dd1a27461c04af32bf724c0bf09b699 /unotools/inc | |
parent | restore special DATE handling code for SbxValue::Compute (diff) | |
download | core-66c3510ed3344e7e87564c3de39cf5531e688c6e.tar.gz core-66c3510ed3344e7e87564c3de39cf5531e688c6e.zip |
mark uncopyable with boost::noncopyable
Diffstat (limited to 'unotools/inc')
-rw-r--r-- | unotools/inc/unotools/charclass.hxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/unotools/inc/unotools/charclass.hxx b/unotools/inc/unotools/charclass.hxx index 4417fb278175..da9be2a5a7df 100644 --- a/unotools/inc/unotools/charclass.hxx +++ b/unotools/inc/unotools/charclass.hxx @@ -31,6 +31,7 @@ #define _UNOTOOLS_CHARCLASS_HXX #include <ctype.h> // isdigit(), isalpha() +#include <boost/noncopyable.hpp> #include <tools/string.hxx> #include <tools/solar.h> #include <com/sun/star/i18n/KCharacterType.hpp> @@ -74,17 +75,13 @@ const sal_Int32 nCharClassNumericTypeMask = ::com::sun::star::i18n::KCharacterType::BASE_FORM; -class UNOTOOLS_DLLPUBLIC CharClass +class UNOTOOLS_DLLPUBLIC CharClass : private boost::noncopyable { ::com::sun::star::lang::Locale aLocale; ::com::sun::star::uno::Reference< ::com::sun::star::i18n::XCharacterClassification > xCC; ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xSMgr; mutable ::osl::Mutex aMutex; - // not implemented, prevent usage - CharClass( const CharClass& ); - CharClass& operator=( const CharClass& ); - public: /// Preferred ctor with service manager specified CharClass( |