[Libreoffice-commits] core.git: filter/source

Stephan Bergmann sbergman at redhat.com
Tue May 3 15:13:34 UTC 2016


 filter/source/config/cache/filtercache.cxx |    2 +-
 filter/source/config/cache/filtercache.hxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c4acf692e858530b8353dd65876501eb38ce9bab
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 3 17:13:02 2016 +0200

    loplugin:passstuffbyref
    
    Change-Id: Iaaaa0569a3e16bd79eeb7830ab9fb4be6ae57f98

diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx
index dc7e4b3..016dbc3 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -1788,7 +1788,7 @@ CacheItemList::iterator FilterCache::impl_loadItemOnDemand(      EItemType
 
 void FilterCache::impl_saveItem(const css::uno::Reference< css::container::XNameReplace >& xItem,
                                       EItemType                                            eType,
-                                const CacheItem                                            aItem)
+                                const CacheItem & aItem)
     throw(css::uno::Exception)
 {
     CacheItem::const_iterator pIt;
diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx
index 98005e5..1f13e15 100644
--- a/filter/source/config/cache/filtercache.hxx
+++ b/filter/source/config/cache/filtercache.hxx
@@ -808,7 +808,7 @@ class FilterCache : public BaseLock
         /** TODO */
         static void impl_saveItem(const css::uno::Reference< css::container::XNameReplace >& xSet  ,
                                  EItemType                                            eType ,
-                           const CacheItem                                           aValue)
+                           const CacheItem & aValue)
             throw(css::uno::Exception);
 
 


More information about the Libreoffice-commits mailing list