summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-23 15:02:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-23 15:02:45 +0000
commit6edc3600f803dda863f81309f68036cdf2dcb9e7 (patch)
treec0baceb091856b13c0b9a88ed2acc70b68b7f4ab /writerperfect
parent8785341478b384ab7568711e0ff86ec9e27ae9ba (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/filter/TableStyle.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/writerperfect/source/filter/TableStyle.cxx b/writerperfect/source/filter/TableStyle.cxx
index 2fc66ed04841..0a17023260c1 100644
--- a/writerperfect/source/filter/TableStyle.cxx
+++ b/writerperfect/source/filter/TableStyle.cxx
@@ -104,9 +104,9 @@ TableStyle::~TableStyle()
{
typedef std::vector<TableCellStyle *>::iterator TCSVIter;
typedef std::vector<TableRowStyle *>::iterator TRSVIter;
- for (TCSVIter iterTableCellStyles = mTableCellStyles.begin() ; iterTableCellStyles != mTableCellStyles.end(); iterTableCellStyles++)
+ for (TCSVIter iterTableCellStyles = mTableCellStyles.begin() ; iterTableCellStyles != mTableCellStyles.end(); ++iterTableCellStyles)
delete(*iterTableCellStyles);
- for (TRSVIter iterTableRowStyles = mTableRowStyles.begin() ; iterTableRowStyles != mTableRowStyles.end(); iterTableRowStyles++)
+ for (TRSVIter iterTableRowStyles = mTableRowStyles.begin() ; iterTableRowStyles != mTableRowStyles.end(); ++iterTableRowStyles)
delete(*iterTableRowStyles);
}
@@ -156,11 +156,11 @@ void TableStyle::write(DocumentHandlerInterface *pHandler) const
}
typedef std::vector<TableRowStyle *>::const_iterator TRSVIter;
- for (TRSVIter iterTableRow = mTableRowStyles.begin() ; iterTableRow != mTableRowStyles.end(); iterTableRow++)
+ for (TRSVIter iterTableRow = mTableRowStyles.begin() ; iterTableRow != mTableRowStyles.end(); ++iterTableRow)
(*iterTableRow)->write(pHandler);
typedef std::vector<TableCellStyle *>::const_iterator TCSVIter;
- for (TCSVIter iterTableCell = mTableCellStyles.begin() ; iterTableCell != mTableCellStyles.end(); iterTableCell++)
+ for (TCSVIter iterTableCell = mTableCellStyles.begin() ; iterTableCell != mTableCellStyles.end(); ++iterTableCell)
(*iterTableCell)->write(pHandler);
}