From 4f4486c61d3e437059a2ac77aae012489f5c7e25 Mon Sep 17 00:00:00 2001
From: Noel Grandin <noel.grandin@collabora.co.uk>
Date: Mon, 20 Nov 2017 10:26:01 +0200
Subject: look for =() in loplugin:unnecessaryparen

Change-Id: I4f9b71ff7767e90987bb40358fc46ed5d1d571d0
Reviewed-on: https://gerrit.libreoffice.org/44944
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
---
 unoxml/source/dom/documentbuilder.cxx | 2 +-
 unoxml/source/dom/saxbuilder.cxx      | 2 +-
 unoxml/source/xpath/xpathapi.cxx      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

(limited to 'unoxml')

diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx
index f32d92cf81a6..db0b59f01090 100644
--- a/unoxml/source/dom/documentbuilder.cxx
+++ b/unoxml/source/dom/documentbuilder.cxx
@@ -115,7 +115,7 @@ namespace DOM
         Sequence<OUString> aSequence;
         for (int i=0; aSupportedServiceNames[i]!=nullptr; i++) {
             aSequence.realloc(i+1);
-            aSequence[i]=(OUString::createFromAscii(aSupportedServiceNames[i]));
+            aSequence[i] = OUString::createFromAscii(aSupportedServiceNames[i]);
         }
         return aSequence;
     }
diff --git a/unoxml/source/dom/saxbuilder.cxx b/unoxml/source/dom/saxbuilder.cxx
index 33c7b2b9b2e3..b62dd3f839a2 100644
--- a/unoxml/source/dom/saxbuilder.cxx
+++ b/unoxml/source/dom/saxbuilder.cxx
@@ -59,7 +59,7 @@ namespace DOM
         Sequence<OUString> aSequence;
         for (int i=0; aSupportedServiceNames[i]!=nullptr; i++) {
             aSequence.realloc(i+1);
-            aSequence[i]=(OUString::createFromAscii(aSupportedServiceNames[i]));
+            aSequence[i] = OUString::createFromAscii(aSupportedServiceNames[i]);
         }
         return aSequence;
     }
diff --git a/unoxml/source/xpath/xpathapi.cxx b/unoxml/source/xpath/xpathapi.cxx
index 8d3bf6afa596..3dbaa0a2369f 100644
--- a/unoxml/source/xpath/xpathapi.cxx
+++ b/unoxml/source/xpath/xpathapi.cxx
@@ -73,7 +73,7 @@ namespace XPath
         Sequence<OUString> aSequence;
         for (int i=0; aSupportedServiceNames[i]!=nullptr; i++) {
             aSequence.realloc(i+1);
-            aSequence[i]=(OUString::createFromAscii(aSupportedServiceNames[i]));
+            aSequence[i] = OUString::createFromAscii(aSupportedServiceNames[i]);
         }
         return aSequence;
     }
-- 
cgit