summaryrefslogtreecommitdiff
path: root/include/unotools/charclass.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-15 20:54:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-16 12:54:45 +0000
commit01a8bda416d1598f5486f95b6a57d61ff09873ed (patch)
treec37934d13308426d22599f63bf8666305a6b1f80 /include/unotools/charclass.hxx
parenta1ceacc17e3f30d5e9c06b3218ad8ec26ca2f1b9 (diff)
boost::noncopyable->'= delete'
Change-Id: If0f898a1e912fcd2095d8ba88b2b8046596e16ea
Diffstat (limited to 'include/unotools/charclass.hxx')
-rw-r--r--include/unotools/charclass.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/unotools/charclass.hxx b/include/unotools/charclass.hxx
index e35a423b27ea..06ec048723b2 100644
--- a/include/unotools/charclass.hxx
+++ b/include/unotools/charclass.hxx
@@ -22,7 +22,6 @@
#ifndef INCLUDED_UNOTOOLS_CHARCLASS_HXX
#define INCLUDED_UNOTOOLS_CHARCLASS_HXX
-#include <boost/noncopyable.hpp>
#include <i18nlangtag/languagetag.hxx>
#include <com/sun/star/i18n/KCharacterType.hpp>
#include <com/sun/star/i18n/KParseTokens.hpp>
@@ -64,12 +63,15 @@ const sal_Int32 nCharClassNumericTypeMask =
::com::sun::star::i18n::KCharacterType::PRINTABLE |
::com::sun::star::i18n::KCharacterType::BASE_FORM;
-class UNOTOOLS_DLLPUBLIC CharClass : private boost::noncopyable
+class UNOTOOLS_DLLPUBLIC CharClass
{
LanguageTag maLanguageTag;
::com::sun::star::uno::Reference< ::com::sun::star::i18n::XCharacterClassification > xCC;
mutable ::osl::Mutex aMutex;
+ CharClass(const CharClass&) SAL_DELETED_FUNCTION;
+ CharClass& operator=(const CharClass&) SAL_DELETED_FUNCTION;
+
public:
/// Preferred ctor with service manager specified
CharClass(