summaryrefslogtreecommitdiff
path: root/xmloff/source/forms
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 13:42:32 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 13:42:32 +0000
commit4b704ad854cb90a6824892229400f0080673ef07 (patch)
tree666f23e1f67ad845917abd743edfb2545161627a /xmloff/source/forms
parentf55dca2c47fc0dce9781aba3eaf6beac7bcc2555 (diff)
INTEGRATION: CWS sb59 (1.3.6); FILE MERGED
2006/08/18 18:45:15 sb 1.3.6.2: RESYNC: (1.3-1.4); FILE MERGED 2006/08/09 12:53:51 sb 1.3.6.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'xmloff/source/forms')
-rw-r--r--xmloff/source/forms/attriblistmerge.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/forms/attriblistmerge.cxx b/xmloff/source/forms/attriblistmerge.cxx
index 7774a9e03fd7..98b64e3934b3 100644
--- a/xmloff/source/forms/attriblistmerge.cxx
+++ b/xmloff/source/forms/attriblistmerge.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: attriblistmerge.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 10:32:55 $
+ * last change: $Author: obo $ $Date: 2006-10-12 14:42:32 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -68,7 +68,7 @@ namespace xmloff
for ( ; (aLookupSublist != m_aLists.end()) && (nLeftOver >= (*aLookupSublist)->getLength());
++aLookupSublist
)
- nLeftOver -= (*aLookupSublist)->getLength();
+ nLeftOver = nLeftOver - (*aLookupSublist)->getLength();
if (aLookupSublist == m_aLists.end())
{
@@ -107,7 +107,7 @@ namespace xmloff
aAccumulate != m_aLists.end();
++aAccumulate
)
- nCount += (*aAccumulate)->getLength();
+ nCount = nCount + (*aAccumulate)->getLength();
return nCount;
}