summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/dtrans
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/unx/generic/dtrans
parent4e6410ba0155d4c2ac539fd37f75aa72d489e206 (diff)
loplugin:constantfunction: vcl
Change-Id: I985b781a8d53190505fcb1182749cdaf5cd0f8d0
Diffstat (limited to 'vcl/unx/generic/dtrans')
-rw-r--r--vcl/unx/generic/dtrans/X11_dndcontext.cxx3
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.cxx4
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.hxx1
3 files changed, 1 insertions, 7 deletions
diff --git a/vcl/unx/generic/dtrans/X11_dndcontext.cxx b/vcl/unx/generic/dtrans/X11_dndcontext.cxx
index bbdd86a0e3cd..375bdea01538 100644
--- a/vcl/unx/generic/dtrans/X11_dndcontext.cxx
+++ b/vcl/unx/generic/dtrans/X11_dndcontext.cxx
@@ -115,9 +115,8 @@ void DragSourceContext::setCursor( sal_Int32 cursorId ) throw(std::exception)
m_rManager.setCursor( cursorId, m_aDropWindow, m_nTimestamp );
}
-void DragSourceContext::setImage( sal_Int32 imageId ) throw(std::exception)
+void DragSourceContext::setImage( sal_Int32 ) throw(std::exception)
{
- m_rManager.setImage( imageId, m_aDropWindow, m_nTimestamp );
}
void DragSourceContext::transferablesFlavorsChanged() throw(std::exception)
diff --git a/vcl/unx/generic/dtrans/X11_selection.cxx b/vcl/unx/generic/dtrans/X11_selection.cxx
index a5c8387d21fb..24480fca9c2e 100644
--- a/vcl/unx/generic/dtrans/X11_selection.cxx
+++ b/vcl/unx/generic/dtrans/X11_selection.cxx
@@ -3471,10 +3471,6 @@ void SelectionManager::setCursor( sal_Int32 cursor, ::Window aDropWindow, Time )
}
}
-void SelectionManager::setImage( sal_Int32, ::Window, Time )
-{
-}
-
void SelectionManager::transferablesFlavorsChanged()
{
osl::MutexGuard aGuard(m_aMutex);
diff --git a/vcl/unx/generic/dtrans/X11_selection.hxx b/vcl/unx/generic/dtrans/X11_selection.hxx
index c04ae945ed51..5289ee437b0e 100644
--- a/vcl/unx/generic/dtrans/X11_selection.hxx
+++ b/vcl/unx/generic/dtrans/X11_selection.hxx
@@ -462,7 +462,6 @@ namespace x11 {
// for XDragSourceContext
sal_Int32 getCurrentCursor() { return m_aCurrentCursor;}
void setCursor( sal_Int32 cursor, ::Window aDropXLIB_Window, Time aTimestamp );
- void setImage( sal_Int32 image, ::Window aDropXLIB_Window, Time aTimestamp );
void transferablesFlavorsChanged();
void shutdown() throw();