summaryrefslogtreecommitdiff
path: root/vcl/source/app/dndhelp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-02 10:43:28 +0200
committerNoel Grandin <noel@peralex.com>2015-03-19 10:45:00 +0200
commit062e40c76bcab664907737feace74f134a25c29c (patch)
tree83d8e99e62f8183bad31934cceed1c1626285b12 /vcl/source/app/dndhelp.cxx
parent4e6410ba0155d4c2ac539fd37f75aa72d489e206 (diff)
loplugin:constantfunction: vcl
Change-Id: I985b781a8d53190505fcb1182749cdaf5cd0f8d0
Diffstat (limited to 'vcl/source/app/dndhelp.cxx')
-rw-r--r--vcl/source/app/dndhelp.cxx50
1 files changed, 5 insertions, 45 deletions
diff --git a/vcl/source/app/dndhelp.cxx b/vcl/source/app/dndhelp.cxx
index 2e690c75ac7f..bba7452ca2ee 100644
--- a/vcl/source/app/dndhelp.cxx
+++ b/vcl/source/app/dndhelp.cxx
@@ -37,30 +37,6 @@ void vcl::unohelper::DragAndDropClient::dragDropEnd( const ::com::sun::star::dat
{
}
-void vcl::unohelper::DragAndDropClient::dragEnter( const ::com::sun::star::datatransfer::dnd::DragSourceDragEvent& /*dsde*/ )
- throw (::com::sun::star::uno::RuntimeException,
- std::exception)
-{
-}
-
-void vcl::unohelper::DragAndDropClient::dragExit( const ::com::sun::star::datatransfer::dnd::DragSourceEvent& /*dse*/ )
- throw (::com::sun::star::uno::RuntimeException,
- std::exception)
-{
-}
-
-void vcl::unohelper::DragAndDropClient::dragOver( const ::com::sun::star::datatransfer::dnd::DragSourceDragEvent& /*dsde*/ )
- throw (::com::sun::star::uno::RuntimeException,
- std::exception)
-{
-}
-
-void vcl::unohelper::DragAndDropClient::dropActionChanged( const ::com::sun::star::datatransfer::dnd::DragSourceDragEvent& /*dsde*/ )
- throw (::com::sun::star::uno::RuntimeException,
- std::exception)
-{
-}
-
void vcl::unohelper::DragAndDropClient::drop( const ::com::sun::star::datatransfer::dnd::DropTargetDropEvent& /*dtde*/ )
throw (::com::sun::star::uno::RuntimeException,
std::exception)
@@ -85,12 +61,6 @@ void vcl::unohelper::DragAndDropClient::dragOver( const ::com::sun::star::datatr
{
}
-void vcl::unohelper::DragAndDropClient::dropActionChanged( const ::com::sun::star::datatransfer::dnd::DropTargetDragEvent& /*dtde*/ )
- throw (::com::sun::star::uno::RuntimeException,
- std::exception)
-{
-}
-
vcl::unohelper::DragAndDropWrapper::DragAndDropWrapper( DragAndDropClient* pClient )
{
mpClient = pClient;
@@ -133,28 +103,20 @@ void vcl::unohelper::DragAndDropWrapper::dragDropEnd( const ::com::sun::star::da
mpClient->dragDropEnd( rDSDE );
}
-void vcl::unohelper::DragAndDropWrapper::dragEnter( const ::com::sun::star::datatransfer::dnd::DragSourceDragEvent& dsde ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void vcl::unohelper::DragAndDropWrapper::dragEnter( const ::com::sun::star::datatransfer::dnd::DragSourceDragEvent& ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{
- if ( mpClient )
- mpClient->dragEnter( dsde );
}
-void vcl::unohelper::DragAndDropWrapper::dragExit( const ::com::sun::star::datatransfer::dnd::DragSourceEvent& dse ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void vcl::unohelper::DragAndDropWrapper::dragExit( const ::com::sun::star::datatransfer::dnd::DragSourceEvent& ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{
- if ( mpClient )
- mpClient->dragExit( dse );
}
-void vcl::unohelper::DragAndDropWrapper::dragOver( const ::com::sun::star::datatransfer::dnd::DragSourceDragEvent& dsde ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void vcl::unohelper::DragAndDropWrapper::dragOver( const ::com::sun::star::datatransfer::dnd::DragSourceDragEvent& ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{
- if ( mpClient )
- mpClient->dragOver( dsde );
}
-void vcl::unohelper::DragAndDropWrapper::dropActionChanged( const ::com::sun::star::datatransfer::dnd::DragSourceDragEvent& dsde ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void vcl::unohelper::DragAndDropWrapper::dropActionChanged( const ::com::sun::star::datatransfer::dnd::DragSourceDragEvent& ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{
- if ( mpClient )
- mpClient->dropActionChanged( dsde );
}
// ::com::sun::star::datatransfer::dnd::XDropTargetListener
@@ -182,10 +144,8 @@ void vcl::unohelper::DragAndDropWrapper::dragOver( const ::com::sun::star::datat
mpClient->dragOver( rDTDE );
}
-void vcl::unohelper::DragAndDropWrapper::dropActionChanged( const ::com::sun::star::datatransfer::dnd::DropTargetDragEvent& rDTDE ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void vcl::unohelper::DragAndDropWrapper::dropActionChanged( const ::com::sun::star::datatransfer::dnd::DropTargetDragEvent& ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{
- if ( mpClient )
- mpClient->dropActionChanged( rDTDE );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */