summaryrefslogtreecommitdiff
path: root/editeng/source/misc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-25 12:07:33 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-25 14:13:46 +0200
commit0031210b26bfae38be4243f9c92d90fa213b9eb0 (patch)
tree13fd775310b614741146d0ad9673044ac947f8d1 /editeng/source/misc
parent70d9e9bfcdad5f3b18487a87d0bfe2a2a6213b19 (diff)
autocomplete: replace horrible use of SvStringsISortDtor...
... to store not Strings but derived SwAutoCompleteStrings with something far saner: an abstract base class with virtual dtor. Change-Id: I7d966f385dd41154ee1c4cdb43b56ff1aace9b5e
Diffstat (limited to 'editeng/source/misc')
-rw-r--r--editeng/source/misc/swafopt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/misc/swafopt.cxx b/editeng/source/misc/swafopt.cxx
index 3bdf5730b28f..00f1a832c674 100644
--- a/editeng/source/misc/swafopt.cxx
+++ b/editeng/source/misc/swafopt.cxx
@@ -86,7 +86,7 @@ SvxSwAutoFmtFlags::SvxSwAutoFmtFlags()
nAutoCmpltWordLen = 10;
nAutoCmpltListLen = 500;
- pAutoCmpltList = 0;
+ m_pAutoCompleteList = 0;
pSmartTagMgr = 0;
}
@@ -140,7 +140,7 @@ SvxSwAutoFmtFlags& SvxSwAutoFmtFlags::operator=( const SvxSwAutoFmtFlags& rAFFla
bAutoCmpltEndless = rAFFlags.bAutoCmpltEndless;
bAutoCmpltAppendBlanc = rAFFlags.bAutoCmpltAppendBlanc;
bAutoCmpltShowAsTip = rAFFlags.bAutoCmpltShowAsTip;
- pAutoCmpltList = rAFFlags.pAutoCmpltList;
+ m_pAutoCompleteList = rAFFlags.m_pAutoCompleteList;
pSmartTagMgr = rAFFlags.pSmartTagMgr;
nAutoCmpltExpandKey = rAFFlags.nAutoCmpltExpandKey;