summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/inc/unx/gtk/gtkinst.hxx1
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx2
2 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/unx/gtk/gtkinst.hxx b/vcl/inc/unx/gtk/gtkinst.hxx
index a2f8f78943dc..a649f620e223 100644
--- a/vcl/inc/unx/gtk/gtkinst.hxx
+++ b/vcl/inc/unx/gtk/gtkinst.hxx
@@ -175,6 +175,7 @@ public:
#if GTK_CHECK_VERSION(3,0,0)
virtual css::uno::Reference< css::uno::XInterface > CreateClipboard( const css::uno::Sequence< css::uno::Any >& i_rArguments ) override;
+ virtual css::uno::Reference< css::uno::XInterface > CreateDropTarget() override;
#endif
virtual const cairo_font_options_t* GetCairoFontOptions() override;
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 566444eaad7e..5ab81acf67ed 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -805,7 +805,7 @@ void GtkDropTarget::setDefaultActions(sal_Int8 nDefaultActions) throw(std::excep
m_nDefaultActions = nDefaultActions;
}
-Reference< XInterface > SalInstance::CreateDropTarget()
+Reference< XInterface > GtkInstance::CreateDropTarget()
{
return Reference< XInterface >( static_cast<cppu::OWeakObject *>(new GtkDropTarget()) );
}