diff options
author | Seraphime Kirkovski <kirkseraph@gmail.com> | 2016-04-29 17:15:35 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-29 18:42:16 +0000 |
commit | 7739bd5f54606603b9b8199f2cb12c4a1cb86b4f (patch) | |
tree | 7402bd3d4f3e3fb1af5da080a8ed9a5e12ac7d9a /comphelper | |
parent | c30b5d2a382162be94e6a6ac5d5794a074ebfaaa (diff) |
Iteration must not start at the end
Change-Id: I2aebcc909aa9222fc1881e57bbc844025a154e84
Reviewed-on: https://gerrit.libreoffice.org/24497
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/container/embeddedobjectcontainer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx index 9b9d32643b22..1204d3c9c8df 100644 --- a/comphelper/source/container/embeddedobjectcontainer.cxx +++ b/comphelper/source/container/embeddedobjectcontainer.cxx @@ -437,7 +437,7 @@ void EmbeddedObjectContainer::AddEmbeddedObject( const css::uno::Reference < css if ( pImpl->mpTempObjectContainer ) { EmbeddedObjectContainerNameMap::iterator aEnd = pImpl->mpTempObjectContainer->pImpl->maObjectContainer.end(); - for( EmbeddedObjectContainerNameMap::iterator aIter = pImpl->mpTempObjectContainer->pImpl->maObjectContainer.end(); + for( EmbeddedObjectContainerNameMap::iterator aIter = pImpl->mpTempObjectContainer->pImpl->maObjectContainer.begin(); aIter != aEnd; ++aIter ) { |