diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-05-12 21:31:15 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-05-12 23:41:27 +0200 |
commit | 2308bea5ba38250133d7e344484e688ecaab6d8d (patch) | |
tree | fe17830c0df32c514f006add42a83e3372d952a4 /sw/source/uibase/wrtsh/select.cxx | |
parent | 566f6d46056742d7d703f41d8b1596405031c5c3 (diff) |
sw: change SwCursorShell::Pop() parameter from meaningless bool to enum
Change-Id: Iadc660025e1501118cb0a659d92d42af924b1c6f
Diffstat (limited to 'sw/source/uibase/wrtsh/select.cxx')
-rw-r--r-- | sw/source/uibase/wrtsh/select.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx index cf06aa055749..277a9ba770a3 100644 --- a/sw/source/uibase/wrtsh/select.cxx +++ b/sw/source/uibase/wrtsh/select.cxx @@ -150,7 +150,7 @@ long SwWrtShell::SelAll() bool bIsFullSel = !MoveSection( GoCurrSection, fnSectionStart); SwapPam(); bIsFullSel &= !MoveSection( GoCurrSection, fnSectionEnd); - Pop(false); + Pop(PopMode::DeleteCurrent); GoStart(true, &bMoveTable, false, !bIsFullSel); } else @@ -445,7 +445,7 @@ long SwWrtShell::ExtSelWrd(const Point *pPt, bool ) default: bMoveCursor = false; break; } - SwCursorShell::Pop( false ); // restore the saved cursor + SwCursorShell::Pop(PopMode::DeleteCurrent); // restore the saved cursor if( bMoveCursor ) { @@ -464,7 +464,7 @@ long SwWrtShell::ExtSelWrd(const Point *pPt, bool ) } else { - SwCursorShell::Pop( false ); + SwCursorShell::Pop(PopMode::DeleteCurrent); if( bToTop ) SwapPam(); } @@ -889,7 +889,7 @@ int SwWrtShell::IntelligentCut(SelectionType nSelection, bool bCut) SetMark(); SwCursorShell::Left(1,CRSR_SKIP_CHARS); SwFEShell::Delete(); - Pop( false ); + Pop(PopMode::DeleteCurrent); } } else if(cWord == WORD_NO_SPACE && cNext == ' ') @@ -903,7 +903,7 @@ int SwWrtShell::IntelligentCut(SelectionType nSelection, bool bCut) SetMark(); SwCursorShell::Right(1,CRSR_SKIP_CHARS); SwFEShell::Delete(); - Pop( false ); + Pop(PopMode::DeleteCurrent); } } return cWord; |