From ba233e87efddf0a6751b35784dca1c805364ff3b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 11 Feb 2015 13:20:49 +0200 Subject: remove unnecessary parenthesis in return statements found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e --- lotuswordpro/source/filter/lwpobjstrm.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lotuswordpro/source/filter/lwpobjstrm.cxx') diff --git a/lotuswordpro/source/filter/lwpobjstrm.cxx b/lotuswordpro/source/filter/lwpobjstrm.cxx index 8eb8d431fc70..55fcae7206be 100644 --- a/lotuswordpro/source/filter/lwpobjstrm.cxx +++ b/lotuswordpro/source/filter/lwpobjstrm.cxx @@ -128,11 +128,11 @@ sal_uInt8* LwpObjectStream::AllocBuffer(sal_uInt16 size) { if(size<=100) { - return(m_SmallBuffer); + return m_SmallBuffer; } else { - return (new sal_uInt8[size]); + return new sal_uInt8[size]; } } /** @@ -388,7 +388,7 @@ sal_uInt16 LwpObjectStream::DecompressBuffer(sal_uInt8* pDst, sal_uInt8* pSrc, s throw BadDecompress(); } - return(static_cast(DstSize)); + return static_cast(DstSize); } /** * @descr quick read string with 1252 -- cgit