diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-04 09:24:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-04 11:48:04 +0200 |
commit | 9cc8a26fcdd4dbf7d5d65869bf84b824339751ce (patch) | |
tree | b08de712db450099763ab9cd4e175354ad4c9837 /sw/source/uibase/ribbar/inputwin.cxx | |
parent | 9a1e6d916eff1236cc1be2056c91e56018a482bf (diff) |
loplugin:unuseddefaultparam in sw
Change-Id: I1a8a25c09ae0c8ba39fcedb032562df93fdd6ba4
Diffstat (limited to 'sw/source/uibase/ribbar/inputwin.cxx')
-rw-r--r-- | sw/source/uibase/ribbar/inputwin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/ribbar/inputwin.cxx b/sw/source/uibase/ribbar/inputwin.cxx index 178be93a7648..b648c7a0d08a 100644 --- a/sw/source/uibase/ribbar/inputwin.cxx +++ b/sw/source/uibase/ribbar/inputwin.cxx @@ -458,7 +458,7 @@ IMPL_LINK_TYPED( SwInputWindow, SelTableCellsNotify, SwWrtShell&, rCaller, void aEdit->GrabFocus(); } -void SwInputWindow::SetFormula( const OUString& rFormula, bool bDelFlag ) +void SwInputWindow::SetFormula( const OUString& rFormula ) { OUString sEdit('='); if( !rFormula.isEmpty() ) @@ -471,7 +471,7 @@ void SwInputWindow::SetFormula( const OUString& rFormula, bool bDelFlag ) aEdit->SetText( sEdit ); aEdit->SetSelection( Selection( sEdit.getLength(), sEdit.getLength() ) ); aEdit->Invalidate(); - bDelSel = bDelFlag; + bDelSel = true; } IMPL_LINK_NOARG_TYPED(SwInputWindow, ModifyHdl, Edit&, void) |