vcl/inc/unx/gtk/gtkinst.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit be3e09a2f7effada123c6a75201eb5a0029481c2 Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon May 30 13:45:52 2016 +0200 loplugin:passstuffbyref Change-Id: If5c3c92eb2828348cda165d72147d7a570af59f8 diff --git a/vcl/inc/unx/gtk/gtkinst.hxx b/vcl/inc/unx/gtk/gtkinst.hxx index 5218eb4..86002fa 100644 --- a/vcl/inc/unx/gtk/gtkinst.hxx +++ b/vcl/inc/unx/gtk/gtkinst.hxx @@ -175,7 +175,7 @@ public: // For LibreOffice internal D&D we provide the Transferable without Gtk // intermediaries as a shortcut, see tdf#100097 for how dbaccess depends on this static GtkDragSource* g_ActiveDragSource; - css::uno::Reference<css::datatransfer::XTransferable> GetTransferrable() const { return m_xTrans; } + css::uno::Reference<css::datatransfer::XTransferable> const & GetTransferrable() const { return m_xTrans; } }; #endif _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits