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

Stephan Bergmann sbergman at redhat.com
Tue Sep 13 10:26:52 UTC 2016


 writerfilter/source/dmapper/StyleSheetTable.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b017f869e80993679d17e27b76c5c0edc1a22452
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Sep 13 12:26:02 2016 +0200

    loplugin:rangedforcopy
    
    Change-Id: Ie3faef85382f7e23244e10362bfbe3469357dbfd

diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx
index c921527..081845f 100644
--- a/writerfilter/source/dmapper/StyleSheetTable.cxx
+++ b/writerfilter/source/dmapper/StyleSheetTable.cxx
@@ -1178,7 +1178,7 @@ void StyleSheetTable::ApplyStyleSheets( const FontTablePtr& rFontTable )
             }
 
             // Update the styles that were created before their parents
-            for( auto iter : aMissingParent )
+            for( auto const & iter : aMissingParent )
             {
                 iter.second->setParentStyle( iter.first );
             }


More information about the Libreoffice-commits mailing list