diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-01 22:44:22 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-01 22:44:22 +0200 |
commit | c1efe33b99436d740b67a09538efe2676f3b9974 (patch) | |
tree | 7542f62cfa1d113f1cbeb87650f45e4ee5941d92 /chart2 | |
parent | 945a2863fec0941431c082e9bd0e37ed925714c0 (diff) |
Presumably && is what we want here and not (pointlessly) a comma operator
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/NameContainer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/NameContainer.cxx b/chart2/source/tools/NameContainer.cxx index d1ed4b0b2b79..a0d2a4fbff7a 100644 --- a/chart2/source/tools/NameContainer.cxx +++ b/chart2/source/tools/NameContainer.cxx @@ -152,7 +152,7 @@ Sequence< OUString > SAL_CALL NameContainer::getElementNames() sal_Int32 nCount = m_aMap.size(); Sequence< OUString > aSeq(nCount); sal_Int32 nN = 0; - for( tContentMap::iterator aIter = m_aMap.begin(); aIter != m_aMap.end(), nN < nCount; ++aIter, ++nN ) + for( tContentMap::iterator aIter = m_aMap.begin(); aIter != m_aMap.end() && nN < nCount; ++aIter, ++nN ) aSeq[nN]=aIter->first; return aSeq; } |