From 868d8c8f0fdf376b0a3eb545ee841c9c12ffee3b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 7 Jul 2017 08:42:54 +0200 Subject: loplugin:unnecessaryparen handle parens inside call expr stick to single-arg function calls, sometimes parens in multi-arg calls might be there for clarity Change-Id: Ib80190c571ce65b5d219a88056687042de749e74 Reviewed-on: https://gerrit.libreoffice.org/39676 Tested-by: Jenkins Reviewed-by: Noel Grandin --- io/source/stm/odata.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io') diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx index ed6402e5ed8d..9a9680f0fb8b 100644 --- a/io/source/stm/odata.cxx +++ b/io/source/stm/odata.cxx @@ -668,7 +668,7 @@ void ODataOutputStream::writeUTF(const OUString& Value) writeLong( nUTFLen ); } else { - writeShort( ((sal_uInt16)nUTFLen) ); + writeShort( (sal_uInt16)nUTFLen ); } for( i = 0 ; i < nStrLen ; i++ ) { -- cgit