chart2/source/controller/inc/AccessibleBase.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2afead78b346f13030ad43589da9bc389c3c4c32
Author: Noel Grandin <n...@peralex.com>
Date:   Wed Dec 9 14:57:20 2015 +0200

    tdf#69977: constructing and destructing AccessibleElementInfo...
    
    ... is surprisingly expensive
    shaves about 5% off the time to build this chart
    
    Change-Id: I8e5d071edba50d264c2ab01c6bc0b2cad0e41ec6
    Reviewed-on: https://gerrit.libreoffice.org/20588
    Reviewed-by: Noel Grandin <noelgran...@gmail.com>
    Tested-by: Noel Grandin <noelgran...@gmail.com>

diff --git a/chart2/source/controller/inc/AccessibleBase.hxx 
b/chart2/source/controller/inc/AccessibleBase.hxx
index 398f200..e8f4f8b 100644
--- a/chart2/source/controller/inc/AccessibleBase.hxx
+++ b/chart2/source/controller/inc/AccessibleBase.hxx
@@ -217,7 +217,7 @@ protected:
     virtual sal_Int32 ImplGetAccessibleChildCount() const
         throw (::com::sun::star::uno::RuntimeException);
 
-    AccessibleElementInfo GetInfo() const { return m_aAccInfo;}
+    const AccessibleElementInfo& GetInfo() const { return m_aAccInfo;}
     void SetInfo( const AccessibleElementInfo & rNewInfo );
     AccessibleUniqueId GetId() const { return m_aAccInfo.m_aOID;}
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to