[Libreoffice-commits] core.git: vcl/inc

Stephan Bergmann sbergman at redhat.com
Mon May 30 11:46:21 UTC 2016


 vcl/inc/unx/gtk/gtkinst.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit be3e09a2f7effada123c6a75201eb5a0029481c2
Author: Stephan Bergmann <sbergman at 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


More information about the Libreoffice-commits mailing list