[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - vcl/inc

Stephan Bergmann sbergman at redhat.com
Tue May 31 09:51:49 UTC 2016


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

New commits:
commit a58a9f0ebe833a81cf8a1af6babdfda7328a4ac5
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon May 30 13:45:52 2016 +0200

    loplugin:passstuffbyref
    
    Change-Id: If5c3c92eb2828348cda165d72147d7a570af59f8
    (cherry picked from commit be3e09a2f7effada123c6a75201eb5a0029481c2)
    Reviewed-on: https://gerrit.libreoffice.org/25676
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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