Kaydet (Commit) 66c3510e authored tarafından Caolán McNamara's avatar Caolán McNamara

mark uncopyable with boost::noncopyable

üst 9df90559
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment