[Libreoffice-commits] core.git: lotuswordpro/source
Julien Nabet
serval2412 at yahoo.fr
Mon Mar 18 00:47:11 PDT 2013
lotuswordpro/source/filter/xfilter/xfindex.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f9f75ee3697f4fcbd94a4b005227860b9dd099f8
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Mar 17 11:16:40 2013 +0100
coverity#736014 Using invalid iterator
Change-Id: I53c9079aa78a28f50e91474b8347c4830583a6f1
Reviewed-on: https://gerrit.libreoffice.org/2787
Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
Tested-by: Fridrich Strba <fridrich at documentfoundation.org>
diff --git a/lotuswordpro/source/filter/xfilter/xfindex.cxx b/lotuswordpro/source/filter/xfilter/xfindex.cxx
index 1fc791b..1455a86 100644
--- a/lotuswordpro/source/filter/xfilter/xfindex.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfindex.cxx
@@ -222,7 +222,7 @@ void XFIndex::ToXml(IXFStream *pStrm)
pStrm->StartElement( A2OUSTR("text:index-source-styles") );
std::vector<rtl::OUString>::iterator it_str;
- for (it_str = m_aTOCSource[i].begin(); it_str != m_aTOCSource[i].end(); ++it)
+ for (it_str = m_aTOCSource[i].begin(); it_str != m_aTOCSource[i].end(); ++it_str)
{
pAttrList->Clear();
pAttrList->AddAttribute( A2OUSTR("text:style-name"), *it_str);
More information about the Libreoffice-commits
mailing list