diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-10-10 20:56:04 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-10-24 14:31:33 +0200 |
commit | f51005bc969c9296fa3e64d82c13f84fdfb90fe4 (patch) | |
tree | 874364defc1d0cb35b5416d07300a524563008fc /sw | |
parent | 0b01a950edafc595293a6d0f3ea09d0703da6215 (diff) |
tdf#119561: fix assert when double click field in a table
by calling ClearMark so we clean table cursor and related stuff
before creating a new cursor for field edition
See https://bugs.documentfoundation.org/attachment.cgi?id=145578
Change-Id: I3a67fc5704d7a565f76e486bb12e4012e3336062
Reviewed-on: https://gerrit.libreoffice.org/61632
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/fldui/fldedt.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/fldui/fldedt.cxx b/sw/source/ui/fldui/fldedt.cxx index 59df5627aee7..353f634bbff8 100644 --- a/sw/source/ui/fldui/fldedt.cxx +++ b/sw/source/ui/fldui/fldedt.cxx @@ -132,6 +132,7 @@ void SwFieldEditDlg::Init() // Traveling only when more than one field pSh->StartAction(); + pSh->ClearMark(); pSh->CreateCursor(); bool bMove = rMgr.GoNext(); |