diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:22:49 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:36:00 +0100 |
commit | 62c73b9f60e120aed06ad972e82822cbfa0da50c (patch) | |
tree | 12a3e8b95fbd736d045963c1e7d6a595f9490ec6 /linguistic/inc/iprcache.hxx | |
parent | a5bf14ee46209496bfdf92dc0ab309786d64c2de (diff) |
loplugin:deletedspecial
Change-Id: I5b341e6fa5cf66dca9e01b728ef476257b629aeb
Diffstat (limited to 'linguistic/inc/iprcache.hxx')
-rw-r--r-- | linguistic/inc/iprcache.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/linguistic/inc/iprcache.hxx b/linguistic/inc/iprcache.hxx index 4298cf8610a1..855fde7998dd 100644 --- a/linguistic/inc/iprcache.hxx +++ b/linguistic/inc/iprcache.hxx @@ -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(); |