diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-03 16:25:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-03 16:25:16 +0100 |
commit | 4c4a9767f7fb0c7891f1dd96cbe38a9c35e46083 (patch) | |
tree | ef4b8e276f1f54d4fe14abff5e0606a09f49e5e5 /sw | |
parent | 4fe5b44b15647542b1550deaeee43ec3d1e57591 (diff) |
Resolves: tdf#83977 Push/Pop before/after messing with the cursor
otherwise we lose our selection with multi-page tables
Change-Id: I4f52d3cfb7a6d3c2cc1dbb68bbd5ce5c0005b1c3
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/chrdlg/drpcps.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/chrdlg/drpcps.cxx b/sw/source/ui/chrdlg/drpcps.cxx index 9fe7da31ef92..e10da98f811b 100644 --- a/sw/source/ui/chrdlg/drpcps.cxx +++ b/sw/source/ui/chrdlg/drpcps.cxx @@ -271,8 +271,8 @@ void SwDropCapsPict::UpdatePaintSettings( void ) if (!mpPage->m_pTemplateBox->GetSelectEntryPos()) { // query the Font at paragraph's beginning - mpPage->rSh.SttCrsrMove(); mpPage->rSh.Push(); + mpPage->rSh.SttCrsrMove(); mpPage->rSh.ClearMark(); SwWhichPara pSwuifnParaCurr = GetfnParaCurr(); SwPosPara pSwuifnParaStart = GetfnParaStart(); @@ -286,8 +286,8 @@ void SwDropCapsPict::UpdatePaintSettings( void ) // CTL GetFontSettings( *mpPage, maCTLFont, RES_CHRATR_CTL_FONT ); - mpPage->rSh.Pop(false); mpPage->rSh.EndCrsrMove(); + mpPage->rSh.Pop(false); } else { |