cui/source/customize/cfg.cxx | 6 ------ cui/source/inc/cfg.hxx | 2 -- include/svtools/editbrowsebox.hxx | 1 - svtools/source/brwbox/editbrowsebox.cxx | 6 ------ svx/source/sidebar/area/AreaPropertyPanel.cxx | 4 ---- svx/source/sidebar/area/AreaPropertyPanel.hxx | 2 -- 6 files changed, 21 deletions(-)
New commits: commit d86b3e6ff80e0ef6c9bfd1d8ad9626ef3319cc0f Author: Noel Grandin <n...@peralex.com> Date: Tue Aug 11 13:57:18 2015 +0200 loplugin:constantfunction Change-Id: I4f18d046ac71e3585471c0b4ebbe94c562024bc9 diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 2326ff4..2bb91d5 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -4748,7 +4748,6 @@ SvxNewToolbarDialog::SvxNewToolbarDialog(vcl::Window* pWindow, const OUString& r get(m_pSaveInListBox, "savein"); m_pEdtName->SetText( rName ); m_pEdtName->SetSelection(Selection(SELECTION_MIN, SELECTION_MAX)); - m_pEdtName->SetModifyHdl(LINK(this, SvxNewToolbarDialog, ModifyHdl)); } SvxNewToolbarDialog::~SvxNewToolbarDialog() @@ -4765,11 +4764,6 @@ void SvxNewToolbarDialog::dispose() } -IMPL_STATIC_LINK_NOARG(SvxNewToolbarDialog, ModifyHdl) -{ - return 0; -} - /******************************************************************************* * * The SvxIconSelectorDialog class diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx index b2d9246..c8ac9f6 100644 --- a/cui/source/inc/cfg.hxx +++ b/cui/source/inc/cfg.hxx @@ -625,8 +625,6 @@ private: VclPtr<Edit> m_pEdtName; VclPtr<OKButton> m_pBtnOK; - DECL_STATIC_LINK(SvxNewToolbarDialog, ModifyHdl, void *); - public: SvxNewToolbarDialog(vcl::Window* pWindow, const OUString& rName); virtual ~SvxNewToolbarDialog(); diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx index 5d11cf3..2eb3632 100644 --- a/include/svtools/editbrowsebox.hxx +++ b/include/svtools/editbrowsebox.hxx @@ -563,7 +563,6 @@ namespace svt virtual CellController* GetController(long nRow, sal_uInt16 nCol); virtual void InitController(CellControllerRef& rController, long nRow, sal_uInt16 nCol); static void ResizeController(CellControllerRef& rController, const Rectangle&); - static void ReleaseController(CellControllerRef& pController, long nRow, sal_uInt16 nCol); virtual void DoubleClick(const BrowserMouseEvent&) SAL_OVERRIDE; void ActivateCell() { ActivateCell(GetCurRow(), GetCurColumnId()); } diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx index c9c5a29..569606e 100644 --- a/svtools/source/brwbox/editbrowsebox.cxx +++ b/svtools/source/brwbox/editbrowsebox.cxx @@ -1082,7 +1082,6 @@ namespace svt IMPL_LINK_NOARG(EditBrowseBox, EndEditHdl) { nEndEvent = 0; - ReleaseController(aOldController, nOldEditRow, nOldEditCol); aOldController = CellControllerRef(); nOldEditRow = -1; @@ -1193,11 +1192,6 @@ namespace svt } - void EditBrowseBox::ReleaseController(CellControllerRef&, long, sal_uInt16) - { - } - - void EditBrowseBox::CellModified() { } diff --git a/svx/source/sidebar/area/AreaPropertyPanel.cxx b/svx/source/sidebar/area/AreaPropertyPanel.cxx index e4b2cca..2ce4530 100644 --- a/svx/source/sidebar/area/AreaPropertyPanel.cxx +++ b/svx/source/sidebar/area/AreaPropertyPanel.cxx @@ -86,10 +86,6 @@ void AreaPropertyPanel::dispose() AreaPropertyPanelBase::dispose(); } -void AreaPropertyPanel::Initialize() -{ -} - VclPtr<vcl::Window> AreaPropertyPanel::Create ( vcl::Window* pParent, const css::uno::Reference<css::frame::XFrame>& rxFrame, diff --git a/svx/source/sidebar/area/AreaPropertyPanel.hxx b/svx/source/sidebar/area/AreaPropertyPanel.hxx index 2630eb3..45f6bce 100644 --- a/svx/source/sidebar/area/AreaPropertyPanel.hxx +++ b/svx/source/sidebar/area/AreaPropertyPanel.hxx @@ -90,8 +90,6 @@ private: ::sfx2::sidebar::ControllerItem maFillFloatTransparenceController; SfxBindings* mpBindings; - - static void Initialize(); }; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits