summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-11-22 12:37:09 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-22 13:28:50 -0500
commit05e01bad5d5387ec551dd8ef50be7197df518504 (patch)
treeafee9f629e40880923203079a3907621c97ec4de /include
parent614d384f5bf7a6b5974c6ed0c972dd9a0434b3b6 (diff)
Make SvxAutocorrWordList explicitly non-copyable.
Change-Id: Idc056fd216bfe0b5e5c0285b1781b0658837f5a2
Diffstat (limited to 'include')
-rw-r--r--include/editeng/svxacorr.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx
index a885dd7acaaa..7e7886cc58d1 100644
--- a/include/editeng/svxacorr.hxx
+++ b/include/editeng/svxacorr.hxx
@@ -143,6 +143,9 @@ typedef ::boost::unordered_map< OUString, SvxAutocorrWord *,
class EDITENG_DLLPUBLIC SvxAutocorrWordList
{
+ SvxAutocorrWordList( const SvxAutocorrWordList& ); // disabled
+ const SvxAutocorrWordList& operator= ( const SvxAutocorrWordList& ); // disabled
+
// only one of these contains the data
mutable SvxAutocorrWordList_Set maSet;
mutable SvxAutocorrWordList_Hash maHash; // key is 'Short'
@@ -152,6 +155,7 @@ class EDITENG_DLLPUBLIC SvxAutocorrWordList
sal_Int32 &rStt,
sal_Int32 nEndPos) const;
public:
+ SvxAutocorrWordList();
// free any objects still in the set
~SvxAutocorrWordList();
void DeleteAndDestroyAll();