From 4b2262ab5b10f334f1984fec84d2978db81c58f1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 5 Jul 2017 08:32:57 +0200 Subject: new loplugin unnecessaryparen Change-Id: Ic883a07b30069ca6342d7521c8ad890f4326f0ec Reviewed-on: https://gerrit.libreoffice.org/39549 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sal/textenc/textcvt.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sal/textenc') diff --git a/sal/textenc/textcvt.cxx b/sal/textenc/textcvt.cxx index 3bd377d2f80d..d654ca5ecb04 100644 --- a/sal/textenc/textcvt.cxx +++ b/sal/textenc/textcvt.cxx @@ -73,7 +73,7 @@ static sal_Size ImplUnicodeToDummy( const sal_Unicode* pSrcBuf, sal_Size nSrcCha char* pEndDestBuf; const sal_Unicode* pEndSrcBuf; - if ( ((nFlags & RTL_UNICODETOTEXT_FLAGS_UNDEFINED_MASK) == RTL_UNICODETOTEXT_FLAGS_UNDEFINED_ERROR) ) + if ( (nFlags & RTL_UNICODETOTEXT_FLAGS_UNDEFINED_MASK) == RTL_UNICODETOTEXT_FLAGS_UNDEFINED_ERROR ) { *pInfo |= RTL_UNICODETOTEXT_INFO_ERROR | RTL_UNICODETOTEXT_INFO_UNDEFINED; -- cgit