diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-12 14:01:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-13 10:54:18 +0200 |
commit | 9265f9bd35ff6ef0e4ab285dd9fecebce6976e8d (patch) | |
tree | c4771a0e87563954360a389d87cca96402312ae1 /sc/source/filter/rtf/eeimpars.cxx | |
parent | 83a58be116762abeab4ec3a90b8aafa076484b4a (diff) |
sc: boost::ptr_vector->std::vector<std::unique_ptr>
Change-Id: I4c1d48b93ebb50aead0ee263a13e42e66eb714da
Diffstat (limited to 'sc/source/filter/rtf/eeimpars.cxx')
-rw-r--r-- | sc/source/filter/rtf/eeimpars.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/rtf/eeimpars.cxx b/sc/source/filter/rtf/eeimpars.cxx index 2b91ff2ad5ac..e31c215b230e 100644 --- a/sc/source/filter/rtf/eeimpars.cxx +++ b/sc/source/filter/rtf/eeimpars.cxx @@ -478,7 +478,7 @@ bool ScEEImport::GraphicSize( SCCOL nCol, SCROW nRow, SCTAB /*nTab*/, ScEEParseE sal_Char nDir = nHorizontal; for ( size_t i = 0; i < pE->maImageList.size() ; ++i ) { - ScHTMLImage* pI = &pE->maImageList[ i ]; + ScHTMLImage* pI = pE->maImageList[ i ].get(); if ( pI->pGraphic ) bHasGraphics = true; Size aSizePix = pI->aSize; @@ -554,7 +554,7 @@ void ScEEImport::InsertGraphic( SCCOL nCol, SCROW nRow, SCTAB nTab, sal_Char nDir = nHorizontal; for ( size_t i = 0; i < pE->maImageList.size(); ++i ) { - ScHTMLImage* pI = &pE->maImageList[ i ]; + ScHTMLImage* pI = pE->maImageList[ i ].get(); if ( nDir & nHorizontal ) { // Horizontal aInsertPos.X() += aLogicSize.Width(); |