summaryrefslogtreecommitdiff
path: root/include/linguistic/hyphdta.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:22:49 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:36:00 +0100
commit62c73b9f60e120aed06ad972e82822cbfa0da50c (patch)
tree12a3e8b95fbd736d045963c1e7d6a595f9490ec6 /include/linguistic/hyphdta.hxx
parenta5bf14ee46209496bfdf92dc0ab309786d64c2de (diff)
loplugin:deletedspecial
Change-Id: I5b341e6fa5cf66dca9e01b728ef476257b629aeb
Diffstat (limited to 'include/linguistic/hyphdta.hxx')
-rw-r--r--include/linguistic/hyphdta.hxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/linguistic/hyphdta.hxx b/include/linguistic/hyphdta.hxx
index 820a3e3d421c..59094519617b 100644
--- a/include/linguistic/hyphdta.hxx
+++ b/include/linguistic/hyphdta.hxx
@@ -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,