summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-06 13:50:13 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-06 13:50:13 +0000
commitab562ab2064b8d92cbd9d83b167053cd29998fcb (patch)
tree8d0f042b5578bd0425c91d6a24bd580833ad50f5 /lotuswordpro
parent2a26ed5f4b4e5dc40917ae5a416c5e75ac06ff01 (diff)
cppunit: prefer prefix variant
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpstory.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/lotuswordpro/source/filter/lwpstory.cxx b/lotuswordpro/source/filter/lwpstory.cxx
index 424124cc1a0f..084bdc513bda 100644
--- a/lotuswordpro/source/filter/lwpstory.cxx
+++ b/lotuswordpro/source/filter/lwpstory.cxx
@@ -202,7 +202,7 @@ void LwpStory::AddPageLayout(LwpPageLayout * pObject)
LwpPageLayout* LwpStory::GetNextPageLayout()
{
std::vector<LwpPageLayout*>::iterator it;
- for( it = m_LayoutList.begin(); it != m_LayoutList.end(); it++ )
+ for( it = m_LayoutList.begin(); it != m_LayoutList.end(); ++it )
{
if(m_pCurrentLayout == *it)
{
@@ -243,9 +243,9 @@ void LwpStory::SortPageLayout()
LwpPageLayout* pTemp = NULL;
std::vector<LwpPageLayout*>::iterator aIt;
std::vector<LwpPageLayout*>::iterator bIt;
- for( aIt = aLayoutList.begin(); aIt != aLayoutList.end() -1; aIt++)
+ for( aIt = aLayoutList.begin(); aIt != aLayoutList.end() -1; ++aIt)
{
- for( bIt = aIt +1; bIt != aLayoutList.end(); bIt ++)
+ for( bIt = aIt +1; bIt != aLayoutList.end(); ++bIt )
{
if(**aIt < **bIt)
{
@@ -263,7 +263,7 @@ void LwpStory::SortPageLayout()
//put all the sorted layouts into list
m_LayoutList.clear();
- for( aIt = aLayoutList.begin(); aIt != aLayoutList.end(); aIt++)
+ for( aIt = aLayoutList.begin(); aIt != aLayoutList.end(); ++aIt)
{
m_LayoutList.push_back(*aIt);
}
@@ -537,7 +537,7 @@ OUString LwpStory::RegisterFirstFribStyle()
sal_Bool LwpStory::IsBullStyleUsedBefore(const rtl::OUString& rStyleName, const sal_uInt8& nPos)
{
std::vector <NamePosPair>::reverse_iterator rIter;
- for (rIter = m_vBulletStyleNameList.rbegin(); rIter != m_vBulletStyleNameList.rend(); rIter++)
+ for (rIter = m_vBulletStyleNameList.rbegin(); rIter != m_vBulletStyleNameList.rend(); ++rIter)
{
rtl::OUString aName = (*rIter).first;
sal_uInt8 nPosition = (*rIter).second;