diff options
Diffstat (limited to 'sd/source/filter/eppt/eppt.cxx')
-rw-r--r-- | sd/source/filter/eppt/eppt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/eppt/eppt.cxx b/sd/source/filter/eppt/eppt.cxx index d9c6b62656b5..a477636e49ab 100644 --- a/sd/source/filter/eppt/eppt.cxx +++ b/sd/source/filter/eppt/eppt.cxx @@ -1231,7 +1231,7 @@ void PPTWriter::ImplWriteOLE( ) SvxMSExportOLEObjects aOleExport( mnCnvrtFlags ); - for ( auto& rxExOleObjEntry : maExOleObj ) + for ( const auto& rxExOleObjEntry : maExOleObj ) { PPTExOleObjEntry* pPtr = rxExOleObjEntry.get(); std::unique_ptr<SvMemoryStream> pStrm; @@ -1355,7 +1355,7 @@ void PPTWriter::ImplWriteAtomEnding() } } // Ole persists - for ( auto& rxExOleObjEntry : maExOleObj ) + for ( const auto& rxExOleObjEntry : maExOleObj ) { PPTExOleObjEntry* pPtr = rxExOleObjEntry.get(); nOfs = mpPptEscherEx->PtGetOffsetByID( EPP_Persist_ExObj ); |