summaryrefslogtreecommitdiff
path: root/svx/source/form
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-04 10:11:14 +0200
committerNoel Grandin <noel@peralex.com>2016-03-04 11:48:04 +0200
commit1fbc20dad2520862f8142f1cabae169bf1450b87 (patch)
treee27544a940a1d37031224db3b56b7fa88f836c3d /svx/source/form
parent9cc8a26fcdd4dbf7d5d65869bf84b824339751ce (diff)
loplugin:unuseddefaultparam in svx
Change-Id: Iacd4ed12c6c5dfdc2f31f85c8c1ce2cee8a8641f
Diffstat (limited to 'svx/source/form')
-rw-r--r--svx/source/form/fmvwimp.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx
index 00f9e1687f25..6fb1a9b21257 100644
--- a/svx/source/form/fmvwimp.cxx
+++ b/svx/source/form/fmvwimp.cxx
@@ -813,15 +813,12 @@ FmFormShell* FmXFormView::GetFormShell() const
return m_pView ? m_pView->GetFormShell() : nullptr;
}
-void FmXFormView::AutoFocus( bool _bSync )
+void FmXFormView::AutoFocus()
{
if (m_nAutoFocusEvent)
Application::RemoveUserEvent(m_nAutoFocusEvent);
- if ( _bSync )
- OnAutoFocus( nullptr );
- else
- m_nAutoFocusEvent = Application::PostUserEvent(LINK(this, FmXFormView, OnAutoFocus));
+ m_nAutoFocusEvent = Application::PostUserEvent(LINK(this, FmXFormView, OnAutoFocus));
}