diff options
-rw-r--r-- | sw/source/filter/ww8/WW8FFData.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/wrtw8nds.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/xml/XMLRedlineImportHelper.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/xml/xmltexti.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/dochdl/swdtflvr.cxx | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/filter/ww8/WW8FFData.cxx b/sw/source/filter/ww8/WW8FFData.cxx index f6e665fa6345..7f347d8f9b44 100644 --- a/sw/source/filter/ww8/WW8FFData.cxx +++ b/sw/source/filter/ww8/WW8FFData.cxx @@ -163,7 +163,7 @@ void WW8FFData::Write(SvStream * pDataStrm) const ::rtl::OUString & rEntry = *aIt; WriteOUString(pDataStrm, rEntry, false); - aIt++; + ++aIt; } } diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index 53f95ad594b6..1c7e87bc0f0f 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -1676,7 +1676,7 @@ bool MSWordExportBase::NearestBookmark( xub_StrLen& rNearest, const xub_StrLen n { bool bHasBookmark = false; - if ( m_rSortedMarksStart.size( ) > 0 ) + if ( !m_rSortedMarksStart.empty() ) { IMark* pMarkStart = m_rSortedMarksStart.front(); xub_StrLen nNext = pMarkStart->GetMarkStart().nContent.GetIndex(); @@ -1687,7 +1687,7 @@ bool MSWordExportBase::NearestBookmark( xub_StrLen& rNearest, const xub_StrLen n } } - if ( m_rSortedMarksEnd.size( ) > 0 ) + if ( !m_rSortedMarksEnd.empty() ) { IMark* pMarkEnd = m_rSortedMarksEnd[0]; xub_StrLen nNext = pMarkEnd->GetMarkEnd().nContent.GetIndex(); diff --git a/sw/source/filter/xml/XMLRedlineImportHelper.cxx b/sw/source/filter/xml/XMLRedlineImportHelper.cxx index 49a3110ce462..b91a81b75d87 100644 --- a/sw/source/filter/xml/XMLRedlineImportHelper.cxx +++ b/sw/source/filter/xml/XMLRedlineImportHelper.cxx @@ -330,7 +330,7 @@ XMLRedlineImportHelper::~XMLRedlineImportHelper() { // delete all left over (and obviously incomplete) RedlineInfos (and map) RedlineMapType::iterator aFind = aRedlineMap.begin(); - for( ; aRedlineMap.end() != aFind; aFind++ ) + for( ; aRedlineMap.end() != aFind; ++aFind ) { RedlineInfo* pInfo = aFind->second; diff --git a/sw/source/filter/xml/xmltexti.cxx b/sw/source/filter/xml/xmltexti.cxx index 4b77b18c4887..d690dee87125 100644 --- a/sw/source/filter/xml/xmltexti.cxx +++ b/sw/source/filter/xml/xmltexti.cxx @@ -946,7 +946,7 @@ void SwXMLTextImportHelper::endAppletOrPlugin( aCommandSequence[nIndex].Handle = -1; aCommandSequence[nIndex].Value = makeAny( OUString((*aIter).second) ); aCommandSequence[nIndex].State = beans::PropertyState_DIRECT_VALUE; - aIter++, nIndex++; + ++aIter, ++nIndex; } // unfortunately the names of the properties are depending on the object diff --git a/sw/source/ui/dochdl/swdtflvr.cxx b/sw/source/ui/dochdl/swdtflvr.cxx index adfa4d1f098e..2760a7d08bfe 100644 --- a/sw/source/ui/dochdl/swdtflvr.cxx +++ b/sw/source/ui/dochdl/swdtflvr.cxx @@ -854,7 +854,7 @@ int SwTransferable::PrepareForCopy( sal_Bool bIsCut ) // remove all DDE-Bookmarks, they are invalid inside the clipdoc! for(::std::vector< ::sw::mark::IMark* >::iterator ppMark = vDdeMarks.begin(); ppMark != vDdeMarks.end(); - ppMark++) + ++ppMark) pMarkAccess->deleteMark(*ppMark); } |