Kaydet (Commit) 4c4a9767 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#83977 Push/Pop before/after messing with the cursor

otherwise we lose our selection with multi-page tables

Change-Id: I4f52d3cfb7a6d3c2cc1dbb68bbd5ce5c0005b1c3
üst 4fe5b44b
...@@ -271,8 +271,8 @@ void SwDropCapsPict::UpdatePaintSettings( void ) ...@@ -271,8 +271,8 @@ void SwDropCapsPict::UpdatePaintSettings( void )
if (!mpPage->m_pTemplateBox->GetSelectEntryPos()) if (!mpPage->m_pTemplateBox->GetSelectEntryPos())
{ {
// query the Font at paragraph's beginning // query the Font at paragraph's beginning
mpPage->rSh.SttCrsrMove();
mpPage->rSh.Push(); mpPage->rSh.Push();
mpPage->rSh.SttCrsrMove();
mpPage->rSh.ClearMark(); mpPage->rSh.ClearMark();
SwWhichPara pSwuifnParaCurr = GetfnParaCurr(); SwWhichPara pSwuifnParaCurr = GetfnParaCurr();
SwPosPara pSwuifnParaStart = GetfnParaStart(); SwPosPara pSwuifnParaStart = GetfnParaStart();
...@@ -286,8 +286,8 @@ void SwDropCapsPict::UpdatePaintSettings( void ) ...@@ -286,8 +286,8 @@ void SwDropCapsPict::UpdatePaintSettings( void )
// CTL // CTL
GetFontSettings( *mpPage, maCTLFont, RES_CHRATR_CTL_FONT ); GetFontSettings( *mpPage, maCTLFont, RES_CHRATR_CTL_FONT );
mpPage->rSh.Pop(false);
mpPage->rSh.EndCrsrMove(); mpPage->rSh.EndCrsrMove();
mpPage->rSh.Pop(false);
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment