diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-30 13:20:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-31 10:00:07 +0200 |
commit | d562c4e4ead3174a9cc720835ecfbfa16e40e15d (patch) | |
tree | c83bf98cd678493190937c19dda62c993849fd99 /sw/source/ui | |
parent | 7bf9abffb69966882feecca4b35a04722e5b7822 (diff) |
Get rid of a pointless indirect function pointer variable
Change-Id: I542a5fb00a5c972230c072d72a745fddb095f708
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/chrdlg/drpcps.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/dbui/dbinsdlg.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/dbui/mmlayoutpage.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/chrdlg/drpcps.cxx b/sw/source/ui/chrdlg/drpcps.cxx index c1e84334d932..1ff76ed1c1cd 100644 --- a/sw/source/ui/chrdlg/drpcps.cxx +++ b/sw/source/ui/chrdlg/drpcps.cxx @@ -280,7 +280,7 @@ void SwDropCapsPict::UpdatePaintSettings() mpPage->rSh.Push(); mpPage->rSh.SttCursorMove(); mpPage->rSh.ClearMark(); - SwWhichPara pSwuifnParaCurr = GetfnParaCurr(); + SwWhichPara pSwuifnParaCurr = GoCurrPara; SwMoveFnCollection const & pSwuifnParaStart = GetfnParaStart(); mpPage->rSh.MovePara(pSwuifnParaCurr,pSwuifnParaStart); // normal diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx index 1aa7803b6ad1..279f96354025 100644 --- a/sw/source/ui/dbui/dbinsdlg.cxx +++ b/sw/source/ui/dbui/dbinsdlg.cxx @@ -1368,13 +1368,13 @@ void SwInsertDBColAutoPilot::DataToDoc( const Sequence<Any>& rSelection, // at the end. rSh.SwCursorShell::MovePara( - GetfnParaCurr(), GetfnParaStart() ); + GoCurrPara, GetfnParaStart() ); pMark = rSh.SetBookmark( vcl::KeyCode(), OUString(), OUString(), IDocumentMarkAccess::MarkType::UNO_BOOKMARK ); rSh.SwCursorShell::MovePara( - GetfnParaCurr(), GetfnParaEnd() ); + GoCurrPara, GetfnParaEnd() ); bSetCursor = false; } } diff --git a/sw/source/ui/dbui/mmlayoutpage.cxx b/sw/source/ui/dbui/mmlayoutpage.cxx index 9745e49e2270..6f9a4f4b7745 100644 --- a/sw/source/ui/dbui/mmlayoutpage.cxx +++ b/sw/source/ui/dbui/mmlayoutpage.cxx @@ -449,7 +449,7 @@ void SwMailMergeLayoutPage::InsertGreeting(SwWrtShell& rShell, SwMailMergeConfig else { //we may end up inside of a paragraph if the left margin is not at DEFAULT_LEFT_DISTANCE - rShell.MovePara(GetfnParaCurr(), GetfnParaStart()); + rShell.MovePara(GoCurrPara, GetfnParaStart()); } bool bSplitNode = !rShell.GetText().isEmpty(); sal_Int32 nMoves = rConfigItem.GetGreetingMoves(); |