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