Prefer prefix ++/-- operators for non-primitive types
Change-Id: I057c3ea14cd1f224b339f884ae86890d16471215
This commit is contained in:
@@ -604,7 +604,7 @@ void MorkParser::retrieveLists(std::set<std::string>& lists)
|
|||||||
MorkTableMap* tables = getTables(defaultScope_);
|
MorkTableMap* tables = getTables(defaultScope_);
|
||||||
if (!tables) return;
|
if (!tables) return;
|
||||||
for (MorkTableMap::iterator TableIter = tables->begin();
|
for (MorkTableMap::iterator TableIter = tables->begin();
|
||||||
TableIter != tables->end(); TableIter++ )
|
TableIter != tables->end(); ++TableIter )
|
||||||
{
|
{
|
||||||
#ifdef VERBOSE
|
#ifdef VERBOSE
|
||||||
std::cout << "\t Table:"
|
std::cout << "\t Table:"
|
||||||
@@ -614,7 +614,7 @@ void MorkParser::retrieveLists(std::set<std::string>& lists)
|
|||||||
MorkRowMap* rows = getRows( defaultListScope_, &TableIter->second );
|
MorkRowMap* rows = getRows( defaultListScope_, &TableIter->second );
|
||||||
if (!rows) return;
|
if (!rows) return;
|
||||||
for ( MorkRowMap::iterator RowIter = rows->begin();
|
for ( MorkRowMap::iterator RowIter = rows->begin();
|
||||||
RowIter != rows->end(); RowIter++ )
|
RowIter != rows->end(); ++RowIter )
|
||||||
{
|
{
|
||||||
#ifdef VERBOSE
|
#ifdef VERBOSE
|
||||||
std::cout << "\t\t\t Row Id:"
|
std::cout << "\t\t\t Row Id:"
|
||||||
@@ -624,7 +624,7 @@ void MorkParser::retrieveLists(std::set<std::string>& lists)
|
|||||||
#endif
|
#endif
|
||||||
// Get cells
|
// Get cells
|
||||||
for ( MorkCells::iterator cellsIter = RowIter->second.begin();
|
for ( MorkCells::iterator cellsIter = RowIter->second.begin();
|
||||||
cellsIter != RowIter->second.end(); cellsIter++ )
|
cellsIter != RowIter->second.end(); ++cellsIter )
|
||||||
{
|
{
|
||||||
if (cellsIter->first == 0xC1)
|
if (cellsIter->first == 0xC1)
|
||||||
{
|
{
|
||||||
@@ -641,7 +641,7 @@ void MorkParser::getRecordKeysForListTable(std::string& listName, std::set<int>&
|
|||||||
MorkTableMap* tables = getTables(defaultScope_);
|
MorkTableMap* tables = getTables(defaultScope_);
|
||||||
if (!tables) return;
|
if (!tables) return;
|
||||||
for (MorkTableMap::iterator TableIter = tables->begin();
|
for (MorkTableMap::iterator TableIter = tables->begin();
|
||||||
TableIter != tables->end(); TableIter++ )
|
TableIter != tables->end(); ++TableIter )
|
||||||
{
|
{
|
||||||
#ifdef VERBOSE
|
#ifdef VERBOSE
|
||||||
std::cout << "\t Table:"
|
std::cout << "\t Table:"
|
||||||
@@ -651,7 +651,7 @@ void MorkParser::getRecordKeysForListTable(std::string& listName, std::set<int>&
|
|||||||
MorkRowMap* rows = getRows( 0x81, &TableIter->second );
|
MorkRowMap* rows = getRows( 0x81, &TableIter->second );
|
||||||
if (!rows) return;
|
if (!rows) return;
|
||||||
for ( MorkRowMap::iterator RowIter = rows->begin();
|
for ( MorkRowMap::iterator RowIter = rows->begin();
|
||||||
RowIter != rows->end(); RowIter++ )
|
RowIter != rows->end(); ++RowIter )
|
||||||
{
|
{
|
||||||
#ifdef VERBOSE
|
#ifdef VERBOSE
|
||||||
std::cout << "\t\t\t Row Id:"
|
std::cout << "\t\t\t Row Id:"
|
||||||
@@ -662,7 +662,7 @@ void MorkParser::getRecordKeysForListTable(std::string& listName, std::set<int>&
|
|||||||
// Get cells
|
// Get cells
|
||||||
bool listFound = false;
|
bool listFound = false;
|
||||||
for ( MorkCells::iterator cellsIter = RowIter->second.begin();
|
for ( MorkCells::iterator cellsIter = RowIter->second.begin();
|
||||||
cellsIter != RowIter->second.end(); cellsIter++ )
|
cellsIter != RowIter->second.end(); ++cellsIter )
|
||||||
{
|
{
|
||||||
if (listFound)
|
if (listFound)
|
||||||
{
|
{
|
||||||
|
@@ -936,7 +936,7 @@ sal_Bool OfaAutocorrReplacePage::FillItemSet( SfxItemSet& )
|
|||||||
{
|
{
|
||||||
SvxAutoCorrect* pAutoCorrect = SvxAutoCorrCfg::Get().GetAutoCorrect();
|
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;
|
LanguageType eCurrentLang = it->first;
|
||||||
StringChangeList& rStringChangeList = it->second;
|
StringChangeList& rStringChangeList = it->second;
|
||||||
|
Reference in New Issue
Block a user