diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-24 13:08:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-27 10:44:25 +0100 |
commit | 2e5508a17660401e1b4b489dbc9f70b978745b75 (patch) | |
tree | 881afcf9d8b9f0a653df0c94a8a2deefdf85670e /xmloff | |
parent | 470682b3abf0622f5e9663d62d8641f63ceb6f30 (diff) |
loplugin:unnecessaryparen check for (f1()).f2
Change-Id: I93257b0ddd41c649875124d6d5c5faeaa431bae3
Reviewed-on: https://gerrit.libreoffice.org/45218
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/chart/SchXMLSeries2Context.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/core/nmspmap.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtexppr.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/chart/SchXMLSeries2Context.cxx b/xmloff/source/chart/SchXMLSeries2Context.cxx index 01e9027caf95..b1555ee2b0c4 100644 --- a/xmloff/source/chart/SchXMLSeries2Context.cxx +++ b/xmloff/source/chart/SchXMLSeries2Context.cxx @@ -797,7 +797,7 @@ void SchXMLSeries2Context::setStylesToSeries( SeriesDefaultsAndStyles& rSeriesDe , uno::makeAny(chart::ChartAxisAssign::SECONDARY_Y) ); } - if( !(seriesStyle.msStyleName).isEmpty()) + if( !seriesStyle.msStyleName.isEmpty()) { if( rCurrStyleName != seriesStyle.msStyleName ) { @@ -957,7 +957,7 @@ void SchXMLSeries2Context::setStylesToStatisticsObjects( SeriesDefaultsAndStyles if( !xSeriesProp.is() ) continue; - if( !(seriesStyle.msStyleName).isEmpty()) + if( !seriesStyle.msStyleName.isEmpty()) { if( rCurrStyleName != seriesStyle.msStyleName ) { diff --git a/xmloff/source/core/nmspmap.cxx b/xmloff/source/core/nmspmap.cxx index 441b4c53bde0..cb6e09720edf 100644 --- a/xmloff/source/core/nmspmap.cxx +++ b/xmloff/source/core/nmspmap.cxx @@ -311,7 +311,7 @@ sal_uInt16 SvXMLNamespaceMap::GetKeyByAttrName_( const OUString& rAttrName, if( -1 == nColonPos ) { // case: no ':' found -> default namespace - (xEntry->sPrefix).clear(); + xEntry->sPrefix.clear(); xEntry->sName = rAttrName; } else diff --git a/xmloff/source/text/txtexppr.cxx b/xmloff/source/text/txtexppr.cxx index 5ec5a0cb544f..dae2d815c1c6 100644 --- a/xmloff/source/text/txtexppr.cxx +++ b/xmloff/source/text/txtexppr.cxx @@ -56,7 +56,7 @@ void XMLTextExportPropertySetMapper::handleElementItem( pThis->maDropCapExport.exportXML( rProperty.maValue, bDropWholeWord, sDropCharStyle ); pThis->bDropWholeWord = false; - (pThis->sDropCharStyle).clear(); + pThis->sDropCharStyle.clear(); break; case CTF_TABSTOP: |