summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-17 11:16:40 +0100
committerFridrich Strba <fridrich@documentfoundation.org>2013-03-18 07:46:53 +0000
commitf9f75ee3697f4fcbd94a4b005227860b9dd099f8 (patch)
tree7b086fa0e974a021e610917afb5091c68ceaba85 /lotuswordpro
parentc3d1c45e51c102b893bc2e2d7a9102d8d2e4e886 (diff)
coverity#736014 Using invalid iterator
Change-Id: I53c9079aa78a28f50e91474b8347c4830583a6f1 Reviewed-on: https://gerrit.libreoffice.org/2787 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/xfilter/xfindex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfindex.cxx b/lotuswordpro/source/filter/xfilter/xfindex.cxx
index 1fc791b99960..1455a86b1d5a 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);