diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-15 14:04:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-15 14:04:39 +0100 |
commit | 727bf1bdd516dc826620ea9254de1b0b76805907 (patch) | |
tree | 473828247eecbe4ad818216082ff6bdf85f6f20e /reportdesign/source | |
parent | cf3cc3e1c6da6eaaba35f9daa0452b2e0e98a88d (diff) |
loplugin:unreffun DelayedPaste unused
Change-Id: Ib2ca1766bbc1529c3e817d082be23f76bfc0f50f
Diffstat (limited to 'reportdesign/source')
-rw-r--r-- | reportdesign/source/ui/dlg/GroupsSorting.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/reportdesign/source/ui/dlg/GroupsSorting.cxx b/reportdesign/source/ui/dlg/GroupsSorting.cxx index d60b07c557e8..d3719ad7b1d9 100644 --- a/reportdesign/source/ui/dlg/GroupsSorting.cxx +++ b/reportdesign/source/ui/dlg/GroupsSorting.cxx @@ -165,7 +165,6 @@ protected: private: - DECL_LINK( DelayedPaste, void*, void ); DECL_LINK( CBChangeHdl, ComboBox&, void); void InsertRows( long nRow ); @@ -796,17 +795,6 @@ void OFieldExpressionControl::DeleteRows() Invalidate(); } -IMPL_LINK_NOARG( OFieldExpressionControl, DelayedPaste, void*, void ) -{ - m_nPasteEvent = nullptr; - - sal_Int32 nPastePosition = GetSelectRowCount() ? FirstSelectedRow() : GetCurRow(); - - InsertRows( nPastePosition ); - SetNoSelection(); - GoToRow( nPastePosition ); -} - IMPL_LINK_NOARG( OFieldExpressionControl, DelayedDelete, void*, void ) { m_nDeleteEvent = nullptr; |