diff options
author | Tomaž Vajngerl <quikee@gmail.com> | 2012-07-31 19:00:07 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2012-07-31 19:03:01 +0200 |
commit | 3752a5fab427e210033903b498717bcc3ba38edf (patch) | |
tree | c475b4fa94fdcd3229b1b2af345648fa0512f12d /editeng/source | |
parent | 4e15809a78ea3c6062e20e439cf8df3d06cd8569 (diff) |
Invalidate current position in LookupTree at remove action.
Change-Id: I7a32e8d7c21c1e87e1acab9020f9ecbb7e441f2c
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/lookuptree/LatinLookupTree.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editeng/source/lookuptree/LatinLookupTree.cxx b/editeng/source/lookuptree/LatinLookupTree.cxx index 5d78724c33b8..0762044ef0f7 100644 --- a/editeng/source/lookuptree/LatinLookupTree.cxx +++ b/editeng/source/lookuptree/LatinLookupTree.cxx @@ -104,6 +104,8 @@ void LatinLookupTree::insert(const int nProbability) void LatinLookupTree::remove(OUString sKey) { + returnToRoot(); + if ( !sKey.isEmpty() ) { removeKey( sKey ); |