diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-21 14:20:18 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-22 07:02:13 +0000 |
commit | b975aceec3c5f101916b525c10c44408b3e9da9d (patch) | |
tree | 3c94667ae8339141d2e7699f813f3ceee8a21fc6 /sw/source/uibase/ribbar/inputwin.cxx | |
parent | 74d4168f8830f7bbec6b784c3fb774296d9adafa (diff) |
loplugin:unusedmethods sw(part2)
Change-Id: Ib95638267c5a7df73ccdd179dd62ac7c9a53a5e4
Reviewed-on: https://gerrit.libreoffice.org/17262
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/uibase/ribbar/inputwin.cxx')
-rw-r--r-- | sw/source/uibase/ribbar/inputwin.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/uibase/ribbar/inputwin.cxx b/sw/source/uibase/ribbar/inputwin.cxx index 7415b8b17aa2..c9c4f45d5bce 100644 --- a/sw/source/uibase/ribbar/inputwin.cxx +++ b/sw/source/uibase/ribbar/inputwin.cxx @@ -56,7 +56,7 @@ SFX_IMPL_POS_CHILDWINDOW_WITHID( SwInputChild, FN_EDIT_FORMULA, SFX_OBJECTBAR_OBJECT ) -SwInputWindow::SwInputWindow( vcl::Window* pParent, SfxBindings* pBind ) +SwInputWindow::SwInputWindow( vcl::Window* pParent ) : ToolBox( pParent , SW_RES( RID_TBX_FORMULA )), aPos( VclPtr<Edit>::Create(this, SW_RES(ED_POS))), aEdit( VclPtr<InputEdit>::Create(this, WB_3DLOOK|WB_TABSTOP|WB_BORDER|WB_NOHIDESELECTION)), @@ -64,7 +64,6 @@ SwInputWindow::SwInputWindow( vcl::Window* pParent, SfxBindings* pBind ) pMgr(0), pWrtShell(0), pView(0), - pBindings(pBind), aAktTableName(aEmptyOUStr) , m_bDoesUndo(true) , m_bResetUndo(false) @@ -623,7 +622,7 @@ SwInputChild::SwInputChild(vcl::Window* _pParent, SfxChildWindow( _pParent, nId ) { pDispatch = pBindings->GetDispatcher(); - pWindow = VclPtr<SwInputWindow>::Create( _pParent, pBindings ); + pWindow = VclPtr<SwInputWindow>::Create( _pParent ); static_cast<SwInputWindow*>(pWindow.get())->ShowWin(); eChildAlignment = SfxChildAlignment::LOWESTTOP; } |