loplugin:deletedspecial
Change-Id: I5b341e6fa5cf66dca9e01b728ef476257b629aeb
This commit is contained in:
@@ -41,9 +41,8 @@ class HyphenatedWord :
|
||||
sal_Int16 nLanguage;
|
||||
bool bIsAltSpelling;
|
||||
|
||||
// disallow copy-constructor and assignment-operator for now
|
||||
HyphenatedWord(const HyphenatedWord &);
|
||||
HyphenatedWord & operator = (const HyphenatedWord &);
|
||||
HyphenatedWord(const HyphenatedWord &) SAL_DELETED_FUNCTION;
|
||||
HyphenatedWord & operator = (const HyphenatedWord &) SAL_DELETED_FUNCTION;
|
||||
|
||||
public:
|
||||
HyphenatedWord(const OUString &rWord, sal_Int16 nLang, sal_Int16 nHyphenationPos,
|
||||
@@ -93,9 +92,8 @@ class PossibleHyphens :
|
||||
::com::sun::star::uno::Sequence< sal_Int16 > aOrigHyphenPos;
|
||||
sal_Int16 nLanguage;
|
||||
|
||||
// disallow copy-constructor and assignment-operator for now
|
||||
PossibleHyphens(const PossibleHyphens &);
|
||||
PossibleHyphens & operator = (const PossibleHyphens &);
|
||||
PossibleHyphens(const PossibleHyphens &) SAL_DELETED_FUNCTION;
|
||||
PossibleHyphens & operator = (const PossibleHyphens &) SAL_DELETED_FUNCTION;
|
||||
|
||||
public:
|
||||
PossibleHyphens(const OUString &rWord, sal_Int16 nLang,
|
||||
|
@@ -75,10 +75,8 @@ class PropertyChgHelper :
|
||||
bool bResIsIgnoreControlCharacters;
|
||||
bool bResIsUseDictionaryList;
|
||||
|
||||
|
||||
// disallow use of copy-constructor and assignment-operator
|
||||
PropertyChgHelper( const PropertyChgHelper & );
|
||||
PropertyChgHelper & operator = ( const PropertyChgHelper & );
|
||||
PropertyChgHelper( const PropertyChgHelper & ) SAL_DELETED_FUNCTION;
|
||||
PropertyChgHelper & operator = ( const PropertyChgHelper & ) SAL_DELETED_FUNCTION;
|
||||
|
||||
protected:
|
||||
virtual void SetDefaultValues();
|
||||
@@ -151,9 +149,8 @@ public:
|
||||
class PropertyHelper_Thes :
|
||||
public PropertyChgHelper
|
||||
{
|
||||
// disallow use of copy-constructor and assignment-operator
|
||||
PropertyHelper_Thes( const PropertyHelper_Thes & );
|
||||
PropertyHelper_Thes & operator = ( const PropertyHelper_Thes & );
|
||||
PropertyHelper_Thes( const PropertyHelper_Thes & ) SAL_DELETED_FUNCTION;
|
||||
PropertyHelper_Thes & operator = ( const PropertyHelper_Thes & ) SAL_DELETED_FUNCTION;
|
||||
|
||||
public:
|
||||
PropertyHelper_Thes(
|
||||
@@ -205,10 +202,8 @@ class LNG_DLLPUBLIC PropertyHelper_Spell :
|
||||
bool bResIsSpellWithDigits;
|
||||
bool bResIsSpellCapitalization;
|
||||
|
||||
|
||||
// disallow use of copy-constructor and assignment-operator
|
||||
PropertyHelper_Spell( const PropertyHelper_Spell & );
|
||||
PropertyHelper_Spell & operator = ( const PropertyHelper_Spell & );
|
||||
PropertyHelper_Spell( const PropertyHelper_Spell & ) SAL_DELETED_FUNCTION;
|
||||
PropertyHelper_Spell & operator = ( const PropertyHelper_Spell & ) SAL_DELETED_FUNCTION;
|
||||
|
||||
protected:
|
||||
// PropertyChgHelper
|
||||
@@ -288,9 +283,8 @@ class PropertyHelper_Hyphen :
|
||||
nResHyphMinTrailing,
|
||||
nResHyphMinWordLength;
|
||||
|
||||
// disallow use of copy-constructor and assignment-operator
|
||||
PropertyHelper_Hyphen( const PropertyHelper_Hyphen & );
|
||||
PropertyHelper_Hyphen & operator = ( const PropertyHelper_Hyphen & );
|
||||
PropertyHelper_Hyphen( const PropertyHelper_Hyphen & ) SAL_DELETED_FUNCTION;
|
||||
PropertyHelper_Hyphen & operator = ( const PropertyHelper_Hyphen & ) SAL_DELETED_FUNCTION;
|
||||
|
||||
protected:
|
||||
// PropertyChgHelper
|
||||
|
@@ -63,9 +63,8 @@ class FlushListener :
|
||||
::com::sun::star::linguistic2::XLinguProperties > xPropSet;
|
||||
Flushable *pFlushObj;
|
||||
|
||||
// don't allow to use copy-constructor and assignment-operator
|
||||
FlushListener(const FlushListener &);
|
||||
FlushListener & operator = (const FlushListener &);
|
||||
FlushListener(const FlushListener &) SAL_DELETED_FUNCTION;
|
||||
FlushListener & operator = (const FlushListener &) SAL_DELETED_FUNCTION;
|
||||
|
||||
public:
|
||||
FlushListener( Flushable *pFO );
|
||||
@@ -99,9 +98,8 @@ class SpellCache :
|
||||
typedef std::map< LanguageType, WordList_t > LangWordList_t;
|
||||
LangWordList_t aWordLists;
|
||||
|
||||
// don't allow to use copy-constructor and assignment-operator
|
||||
SpellCache(const SpellCache &);
|
||||
SpellCache & operator = (const SpellCache &);
|
||||
SpellCache(const SpellCache &) SAL_DELETED_FUNCTION;
|
||||
SpellCache & operator = (const SpellCache &) SAL_DELETED_FUNCTION;
|
||||
|
||||
public:
|
||||
SpellCache();
|
||||
|
@@ -64,9 +64,8 @@ class ConvDicList :
|
||||
|
||||
bool bDisposing;
|
||||
|
||||
// disallow copy-constructor and assignment-operator for now
|
||||
ConvDicList( const ConvDicList & );
|
||||
ConvDicList & operator = (const ConvDicList &);
|
||||
ConvDicList( const ConvDicList & ) SAL_DELETED_FUNCTION;
|
||||
ConvDicList & operator = (const ConvDicList &) SAL_DELETED_FUNCTION;
|
||||
|
||||
ConvDicNameContainer & GetNameContainer();
|
||||
|
||||
|
@@ -59,9 +59,8 @@ class DictionaryNeo :
|
||||
bool bIsActive;
|
||||
bool bIsReadonly;
|
||||
|
||||
// disallow copy-constructor and assignment-operator for now
|
||||
DictionaryNeo(const DictionaryNeo &);
|
||||
DictionaryNeo & operator = (const DictionaryNeo &);
|
||||
DictionaryNeo(const DictionaryNeo &) SAL_DELETED_FUNCTION;
|
||||
DictionaryNeo & operator = (const DictionaryNeo &) SAL_DELETED_FUNCTION;
|
||||
|
||||
void launchEvent(sal_Int16 nEvent,
|
||||
::com::sun::star::uno::Reference<
|
||||
@@ -189,9 +188,8 @@ class DicEntry :
|
||||
aReplacement; // including hyphen positions represented by "="
|
||||
bool bIsNegativ;
|
||||
|
||||
// disallow copy-constructor and assignment-operator for now
|
||||
DicEntry(const DicEntry &);
|
||||
DicEntry & operator = (const DicEntry &);
|
||||
DicEntry(const DicEntry &) SAL_DELETED_FUNCTION;
|
||||
DicEntry & operator = (const DicEntry &) SAL_DELETED_FUNCTION;
|
||||
|
||||
void splitDicFileWord(const OUString &rDicFileWord,
|
||||
OUString &rDicWord,
|
||||
|
@@ -71,9 +71,8 @@ class DicList :
|
||||
bool bDisposing;
|
||||
bool bInCreation;
|
||||
|
||||
// disallow copy-constructor and assignment-operator for now
|
||||
DicList( const DicList & );
|
||||
DicList & operator = (const DicList &);
|
||||
DicList( const DicList & ) SAL_DELETED_FUNCTION;
|
||||
DicList & operator = (const DicList &) SAL_DELETED_FUNCTION;
|
||||
|
||||
void _CreateDicList();
|
||||
DictionaryVec_t & GetOrCreateDicList()
|
||||
|
@@ -242,7 +242,6 @@ GrammarCheckingIterator::GrammarCheckingIterator() :
|
||||
m_aCurCheckedDocId(),
|
||||
m_bGCServicesChecked( false ),
|
||||
m_nDocIdCounter( 0 ),
|
||||
m_nLastEndOfSentencePos( -1 ),
|
||||
m_aEventListeners( MyMutex::get() ),
|
||||
m_aNotifyListeners( MyMutex::get() )
|
||||
{
|
||||
|
@@ -109,7 +109,6 @@ class GrammarCheckingIterator:
|
||||
OUString m_aCurCheckedDocId;
|
||||
bool m_bGCServicesChecked;
|
||||
sal_Int32 m_nDocIdCounter;
|
||||
sal_Int32 m_nLastEndOfSentencePos;
|
||||
osl::Condition m_aWakeUpThread;
|
||||
oslThread m_thread;
|
||||
|
||||
@@ -142,9 +141,8 @@ class GrammarCheckingIterator:
|
||||
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::util::XChangesBatch > GetUpdateAccess() const;
|
||||
|
||||
// disallow use of copy c-tor and assignment operator
|
||||
GrammarCheckingIterator( const GrammarCheckingIterator & );
|
||||
GrammarCheckingIterator & operator = ( const GrammarCheckingIterator & );
|
||||
GrammarCheckingIterator( const GrammarCheckingIterator & ) SAL_DELETED_FUNCTION;
|
||||
GrammarCheckingIterator & operator = ( const GrammarCheckingIterator & ) SAL_DELETED_FUNCTION;
|
||||
|
||||
public:
|
||||
|
||||
|
@@ -34,9 +34,8 @@
|
||||
class HHConvDic :
|
||||
public ConvDic
|
||||
{
|
||||
// disallow copy-constructor and assignment-operator for now
|
||||
HHConvDic(const HHConvDic &);
|
||||
HHConvDic & operator = (const HHConvDic &);
|
||||
HHConvDic(const HHConvDic &) SAL_DELETED_FUNCTION;
|
||||
HHConvDic & operator = (const HHConvDic &) SAL_DELETED_FUNCTION;
|
||||
|
||||
public:
|
||||
HHConvDic( const OUString &rName, const OUString &rMainURL );
|
||||
|
@@ -60,9 +60,8 @@ class HyphenatorDispatcher :
|
||||
|
||||
LngSvcMgr &rMgr;
|
||||
|
||||
// disallow copy-constructor and assignment-operator for now
|
||||
HyphenatorDispatcher(const HyphenatorDispatcher &);
|
||||
HyphenatorDispatcher & operator = (const HyphenatorDispatcher &);
|
||||
HyphenatorDispatcher(const HyphenatorDispatcher &) SAL_DELETED_FUNCTION;
|
||||
HyphenatorDispatcher & operator = (const HyphenatorDispatcher &) SAL_DELETED_FUNCTION;
|
||||
|
||||
inline ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::linguistic2::XLinguProperties >
|
||||
|
@@ -87,9 +87,8 @@ class LinguProps :
|
||||
|
||||
bool bDisposing;
|
||||
|
||||
// disallow copy-constructor and assignment-operator for now
|
||||
LinguProps(const LinguProps &);
|
||||
LinguProps & operator = (const LinguProps &);
|
||||
LinguProps(const LinguProps &) SAL_DELETED_FUNCTION;
|
||||
LinguProps & operator = (const LinguProps &) SAL_DELETED_FUNCTION;
|
||||
|
||||
void launchEvent( const ::com::sun::star::beans::PropertyChangeEvent &rEvt ) const;
|
||||
|
||||
|
@@ -74,23 +74,6 @@ PropertyChgHelper::PropertyChgHelper(
|
||||
SetDefaultValues();
|
||||
}
|
||||
|
||||
|
||||
PropertyChgHelper::PropertyChgHelper( const PropertyChgHelper &rHelper ) :
|
||||
PropertyChgHelperBase(),
|
||||
aLngSvcEvtListeners (GetLinguMutex())
|
||||
{
|
||||
RemoveAsPropListener();
|
||||
aPropNames = rHelper.aPropNames;
|
||||
xMyEvtObj = rHelper.xMyEvtObj;
|
||||
xPropSet = rHelper.xPropSet;
|
||||
nEvtFlags = rHelper.nEvtFlags;
|
||||
AddAsPropListener();
|
||||
|
||||
SetDefaultValues();
|
||||
GetCurrentValues();
|
||||
}
|
||||
|
||||
|
||||
PropertyChgHelper::~PropertyChgHelper()
|
||||
{
|
||||
}
|
||||
|
@@ -108,9 +108,8 @@ class LngSvcMgr :
|
||||
|
||||
bool bDisposing;
|
||||
|
||||
// disallow copy-constructor and assignment-operator for now
|
||||
LngSvcMgr(const LngSvcMgr &);
|
||||
LngSvcMgr & operator = (const LngSvcMgr &);
|
||||
LngSvcMgr(const LngSvcMgr &) SAL_DELETED_FUNCTION;
|
||||
LngSvcMgr & operator = (const LngSvcMgr &) SAL_DELETED_FUNCTION;
|
||||
|
||||
void GetAvailableSpellSvcs_Impl();
|
||||
void GetAvailableGrammarSvcs_Impl();
|
||||
|
@@ -67,9 +67,8 @@ class SpellCheckerDispatcher :
|
||||
mutable linguistic::SpellCache *pCache; // Spell Cache (holds known words)
|
||||
CharClass * pCharClass;
|
||||
|
||||
// disallow copy-constructor and assignment-operator for now
|
||||
SpellCheckerDispatcher(const SpellCheckerDispatcher &);
|
||||
SpellCheckerDispatcher & operator = (const SpellCheckerDispatcher &);
|
||||
SpellCheckerDispatcher(const SpellCheckerDispatcher &) SAL_DELETED_FUNCTION;
|
||||
SpellCheckerDispatcher & operator = (const SpellCheckerDispatcher &) SAL_DELETED_FUNCTION;
|
||||
|
||||
inline linguistic::SpellCache & GetCache() const;
|
||||
|
||||
|
@@ -59,9 +59,8 @@ class ThesaurusDispatcher :
|
||||
::com::sun::star::uno::Reference<
|
||||
::com::sun::star::linguistic2::XLinguProperties > xPropSet;
|
||||
|
||||
// disallow copy-constructor and assignment-operator for now
|
||||
ThesaurusDispatcher(const ThesaurusDispatcher &);
|
||||
ThesaurusDispatcher & operator = (const ThesaurusDispatcher &);
|
||||
ThesaurusDispatcher(const ThesaurusDispatcher &) SAL_DELETED_FUNCTION;
|
||||
ThesaurusDispatcher & operator = (const ThesaurusDispatcher &) SAL_DELETED_FUNCTION;
|
||||
|
||||
inline ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::linguistic2::XLinguProperties >
|
||||
|
Reference in New Issue
Block a user