Kaydet (Commit) a5bf14ee authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:deletedspecial

Change-Id: I65d025fc465b9b1d11c43e01e2ff6796b72d6333
üst b3934e4a
......@@ -75,9 +75,8 @@ class Hyphenator :
linguistic::PropertyHelper_Hyphenation* pPropHelper;
bool bDisposing;
// disallow copy-constructor and assignment-operator for now
Hyphenator(const Hyphenator &);
Hyphenator & operator = (const Hyphenator &);
Hyphenator(const Hyphenator &) SAL_DELETED_FUNCTION;
Hyphenator & operator = (const Hyphenator &) SAL_DELETED_FUNCTION;
linguistic::PropertyHelper_Hyphenation& GetPropHelper_Impl();
linguistic::PropertyHelper_Hyphenation& GetPropHelper()
......
......@@ -66,9 +66,8 @@ class SpellChecker :
linguistic::PropertyHelper_Spelling* pPropHelper;
bool bDisposing;
// disallow copy-constructor and assignment-operator for now
SpellChecker(const SpellChecker &);
SpellChecker & operator = (const SpellChecker &);
SpellChecker(const SpellChecker &) SAL_DELETED_FUNCTION;
SpellChecker & operator = (const SpellChecker &) SAL_DELETED_FUNCTION;
linguistic::PropertyHelper_Spelling& GetPropHelper_Impl();
linguistic::PropertyHelper_Spelling& GetPropHelper()
......
......@@ -35,11 +35,10 @@ namespace linguistic
{
Meaning::Meaning(
const OUString &rTerm, sal_Int16 nLang) :
const OUString &rTerm) :
aSyn ( Sequence< OUString >(1) ),
aTerm (rTerm),
nLanguage (nLang)
aTerm (rTerm)
{
#if 0
......
......@@ -34,19 +34,17 @@ class Meaning :
{
::com::sun::star::uno::Sequence< OUString > aSyn; // list of synonyms, may be empty.
OUString aTerm;
sal_Int16 nLanguage;
#if 0
// this is for future use by a German thesaurus
sal_Bool bIsGermanPreReform;
#endif
// disallow copy-constructor and assignment-operator for now
Meaning(const Meaning &);
Meaning & operator = (const Meaning &);
Meaning(const Meaning &) SAL_DELETED_FUNCTION;
Meaning & operator = (const Meaning &) SAL_DELETED_FUNCTION;
public:
Meaning(const OUString &rTerm, sal_Int16 nLang);
Meaning(const OUString &rTerm);
virtual ~Meaning();
// XMeaning
......
......@@ -443,7 +443,7 @@ Sequence < Reference < ::com::sun::star::linguistic2::XMeaning > > SAL_CALL Thes
OUString aAlt( cTerm + catst);
pStr[i] = aAlt;
}
Meaning * pMn = new Meaning(rTerm,nLanguage);
Meaning * pMn = new Meaning(rTerm);
OUString dTerm(pe->defn,strlen(pe->defn),eEnc );
pMn->SetMeaning(dTerm);
pMn->SetSynonyms(aStr);
......
......@@ -82,9 +82,8 @@ class Thesaurus :
OUString prevTerm;
sal_Int16 prevLocale;
// disallow copy-constructor and assignment-operator for now
Thesaurus(const Thesaurus &);
Thesaurus & operator = (const Thesaurus &);
Thesaurus(const Thesaurus &) SAL_DELETED_FUNCTION;
Thesaurus & operator = (const Thesaurus &) SAL_DELETED_FUNCTION;
linguistic::PropertyHelper_Thesaurus& GetPropHelper_Impl();
linguistic::PropertyHelper_Thesaurus& GetPropHelper()
......
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