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

Stephan Bergmann sbergman at redhat.com
Mon Aug 8 09:46:27 UTC 2016


 vcl/osx/a11yfocuslistener.cxx |    2 +-
 vcl/osx/a11yfocuslistener.hxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b49fbe280398acccefb9aaf38ec23779353d5744
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Aug 8 11:45:52 2016 +0200

    loplugin:passstuffbyref
    
    Change-Id: I90d280dd041051d8d8433519a7ad7fc17117fd74

diff --git a/vcl/osx/a11yfocuslistener.cxx b/vcl/osx/a11yfocuslistener.cxx
index da4e410..07014cf 100644
--- a/vcl/osx/a11yfocuslistener.cxx
+++ b/vcl/osx/a11yfocuslistener.cxx
@@ -27,7 +27,7 @@ using namespace ::com::sun::star::uno;
 
 rtl::Reference< AquaA11yFocusListener > AquaA11yFocusListener::theListener;
 
-rtl::Reference< AquaA11yFocusListener > AquaA11yFocusListener::get()
+rtl::Reference< AquaA11yFocusListener > const & AquaA11yFocusListener::get()
 {
     if ( ! theListener.is() )
         theListener = new AquaA11yFocusListener();
diff --git a/vcl/osx/a11yfocuslistener.hxx b/vcl/osx/a11yfocuslistener.hxx
index 0b4a012..7801107 100644
--- a/vcl/osx/a11yfocuslistener.hxx
+++ b/vcl/osx/a11yfocuslistener.hxx
@@ -33,7 +33,7 @@ class AquaA11yFocusListener : public KeyboardFocusListener
     virtual ~AquaA11yFocusListener() {};
 public:
 
-    static rtl::Reference< AquaA11yFocusListener > get();
+    static rtl::Reference< AquaA11yFocusListener > const & get();
 
     id getFocusedUIElement();
 


More information about the Libreoffice-commits mailing list