[Libreoffice-commits] core.git: reportdesign/source
Caolán McNamara
caolanm at redhat.com
Sat Apr 15 13:08:29 UTC 2017
reportdesign/source/ui/dlg/GroupsSorting.cxx | 12 ------------
1 file changed, 12 deletions(-)
New commits:
commit 727bf1bdd516dc826620ea9254de1b0b76805907
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Apr 15 14:04:23 2017 +0100
loplugin:unreffun DelayedPaste unused
Change-Id: Ib2ca1766bbc1529c3e817d082be23f76bfc0f50f
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;
More information about the Libreoffice-commits
mailing list