Kaydet (Commit) 64ab96cd authored tarafından Julien Nabet's avatar Julien Nabet

Prefer prefix ++/-- operators for non-primitive types

Change-Id: I057c3ea14cd1f224b339f884ae86890d16471215
üst 5f12d6d4
......@@ -604,7 +604,7 @@ void MorkParser::retrieveLists(std::set<std::string>& lists)
MorkTableMap* tables = getTables(defaultScope_);
if (!tables) return;
for (MorkTableMap::iterator TableIter = tables->begin();
TableIter != tables->end(); TableIter++ )
TableIter != tables->end(); ++TableIter )
{
#ifdef VERBOSE
std::cout << "\t Table:"
......@@ -614,7 +614,7 @@ void MorkParser::retrieveLists(std::set<std::string>& lists)
MorkRowMap* rows = getRows( defaultListScope_, &TableIter->second );
if (!rows) return;
for ( MorkRowMap::iterator RowIter = rows->begin();
RowIter != rows->end(); RowIter++ )
RowIter != rows->end(); ++RowIter )
{
#ifdef VERBOSE
std::cout << "\t\t\t Row Id:"
......@@ -624,7 +624,7 @@ void MorkParser::retrieveLists(std::set<std::string>& lists)
#endif
// Get cells
for ( MorkCells::iterator cellsIter = RowIter->second.begin();
cellsIter != RowIter->second.end(); cellsIter++ )
cellsIter != RowIter->second.end(); ++cellsIter )
{
if (cellsIter->first == 0xC1)
{
......@@ -641,7 +641,7 @@ void MorkParser::getRecordKeysForListTable(std::string& listName, std::set<int>&
MorkTableMap* tables = getTables(defaultScope_);
if (!tables) return;
for (MorkTableMap::iterator TableIter = tables->begin();
TableIter != tables->end(); TableIter++ )
TableIter != tables->end(); ++TableIter )
{
#ifdef VERBOSE
std::cout << "\t Table:"
......@@ -651,7 +651,7 @@ void MorkParser::getRecordKeysForListTable(std::string& listName, std::set<int>&
MorkRowMap* rows = getRows( 0x81, &TableIter->second );
if (!rows) return;
for ( MorkRowMap::iterator RowIter = rows->begin();
RowIter != rows->end(); RowIter++ )
RowIter != rows->end(); ++RowIter )
{
#ifdef VERBOSE
std::cout << "\t\t\t Row Id:"
......@@ -662,7 +662,7 @@ void MorkParser::getRecordKeysForListTable(std::string& listName, std::set<int>&
// Get cells
bool listFound = false;
for ( MorkCells::iterator cellsIter = RowIter->second.begin();
cellsIter != RowIter->second.end(); cellsIter++ )
cellsIter != RowIter->second.end(); ++cellsIter )
{
if (listFound)
{
......
......@@ -936,7 +936,7 @@ sal_Bool OfaAutocorrReplacePage::FillItemSet( SfxItemSet& )
{
SvxAutoCorrect* pAutoCorrect = SvxAutoCorrCfg::Get().GetAutoCorrect();
for (StringChangeTable::reverse_iterator it = aChangesTable.rbegin(); it != aChangesTable.rend(); it++)
for (StringChangeTable::reverse_iterator it = aChangesTable.rbegin(); it != aChangesTable.rend(); ++it)
{
LanguageType eCurrentLang = it->first;
StringChangeList& rStringChangeList = it->second;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment