diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-17 12:19:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-18 15:13:51 +0100 |
commit | 40445a57c6256407bf2381ab456cb5ff58b2f6a8 (patch) | |
tree | f11e2da01f7cf350ac1ebe6815729c23ea8da87e /unotools | |
parent | 5819bec966782b844eb2953f6636a84a01212234 (diff) |
use boost::noncopyable
Change-Id: I1a72115796dfe876fe20bc3fecd9897c90da8db5
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/inc/unotools/localedatawrapper.hxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/unotools/inc/unotools/localedatawrapper.hxx b/unotools/inc/unotools/localedatawrapper.hxx index 14ba39e69694..6474ba05277b 100644 --- a/unotools/inc/unotools/localedatawrapper.hxx +++ b/unotools/inc/unotools/localedatawrapper.hxx @@ -29,6 +29,7 @@ #ifndef _UNOTOOLS_LOCALEDATAWRAPPER_HXX #define _UNOTOOLS_LOCALEDATAWRAPPER_HXX +#include <boost/noncopyable.hpp> #include <tools/string.hxx> #include <com/sun/star/i18n/XLocaleData4.hpp> #include <com/sun/star/i18n/LocaleItem.hpp> @@ -62,7 +63,7 @@ enum MeasurementSystem { }; -class UNOTOOLS_DLLPUBLIC LocaleDataWrapper +class UNOTOOLS_DLLPUBLIC LocaleDataWrapper : private boost::noncopyable { static sal_uInt8 nLocaleDataChecking; // 0:=dontknow, 1:=yes, 2:=no @@ -90,11 +91,6 @@ class UNOTOOLS_DLLPUBLIC LocaleDataWrapper // dummies, to be implemented or provided by XML locale data sal_Unicode cCurrZeroChar; - - // not implemented, prevent usage - LocaleDataWrapper( const LocaleDataWrapper& ); - LocaleDataWrapper& operator=( const LocaleDataWrapper& ); - // whenever Locale changes void invalidateData(); |