[Libreoffice-commits] core.git: comphelper/source
Seraphime Kirkovski
kirkseraph at gmail.com
Fri Apr 29 18:42:41 UTC 2016
comphelper/source/container/embeddedobjectcontainer.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7739bd5f54606603b9b8199f2cb12c4a1cb86b4f
Author: Seraphime Kirkovski <kirkseraph at gmail.com>
Date: Fri Apr 29 17:15:35 2016 +0200
Iteration must not start at the end
Change-Id: I2aebcc909aa9222fc1881e57bbc844025a154e84
Reviewed-on: https://gerrit.libreoffice.org/24497
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>
diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx
index 9b9d326..1204d3c 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 )
{
More information about the Libreoffice-commits
mailing list