diff options
author | Herbert Dürr <hdu@apache.org> | 2014-01-21 13:56:09 +0000 |
---|---|---|
committer | Herbert Dürr <hdu@apache.org> | 2014-01-21 13:56:09 +0000 |
commit | 275a1d7a011e79a7f9c44c51e947d2cb50197051 (patch) | |
tree | 9d7a3aff6fc633894b66723f44d6c02d0d30fd93 /sc | |
parent | 33d4279ad9ea0b51baa56430b5e4ba3a8a6ec70c (diff) |
get rid of an extraneous parentheses in "if((A==B))"
Notes
Notes:
merged as: 2cb1a05e867c17328ef24bd3489f3c18d80dfcf4
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/tokstack.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLStylesExportHelper.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/excel/tokstack.cxx b/sc/source/filter/excel/tokstack.cxx index 5701f7126ed8..5be7dbe6e5b2 100644 --- a/sc/source/filter/excel/tokstack.cxx +++ b/sc/source/filter/excel/tokstack.cxx @@ -939,7 +939,7 @@ const String* TokenPool::GetExternal( const TokenId& rId ) const if( n && n <= nElementAkt ) { n--; - if( (pType[ n ] == T_Ext) ) + if( pType[ n ] == T_Ext ) { sal_uInt16 nExt = pElement[ n ]; if ( nExt < nP_Ext && ppP_Ext[ nExt ] ) diff --git a/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx b/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx index c4929fd4e6ec..2173c9d486b6 100644 --- a/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx +++ b/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx @@ -558,7 +558,7 @@ void ScXMLChangeTrackingImportHelper::CreateGeneratedActions(ScMyGeneratedList& ScMyGeneratedList::iterator aEndItr(rList.end()); while (aItr != aEndItr) { - if (((*aItr)->nID == 0)) + if( (*aItr)->nID == 0) { ScBaseCell* pCell = NULL; if ((*aItr)->pCellInfo) diff --git a/sc/source/filter/xml/XMLStylesExportHelper.cxx b/sc/source/filter/xml/XMLStylesExportHelper.cxx index 5faea3ee2a1d..ad58ffd75955 100644 --- a/sc/source/filter/xml/XMLStylesExportHelper.cxx +++ b/sc/source/filter/xml/XMLStylesExportHelper.cxx @@ -331,7 +331,7 @@ void ScMyValidationsContainer::WriteMessage(ScXMLExport& rExport, sal_Bool bPrevCharWasSpace(sal_True); while(i < sText.getLength()) { - if ((sText[i] == '\n')) + if( sText[i] == '\n') { SvXMLElementExport aElemP(rExport, XML_NAMESPACE_TEXT, XML_P, sal_True, sal_False); rExport.GetTextParagraphExport()->exportText(sTemp.makeStringAndClear(), bPrevCharWasSpace); |