summaryrefslogtreecommitdiffstats
path: root/xmloff/source/core/nmspmap.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-24 13:08:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-27 10:44:25 +0100
commit2e5508a17660401e1b4b489dbc9f70b978745b75 (patch)
tree881afcf9d8b9f0a653df0c94a8a2deefdf85670e /xmloff/source/core/nmspmap.cxx
parenttdf#113831 Show number of search results (diff)
downloadcore-2e5508a17660401e1b4b489dbc9f70b978745b75.tar.gz
core-2e5508a17660401e1b4b489dbc9f70b978745b75.zip
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/source/core/nmspmap.cxx')
-rw-r--r--xmloff/source/core/nmspmap.cxx2
1 files changed, 1 insertions, 1 deletions
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