summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpobjstrm.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-11 13:20:49 +0200
committerNoel Grandin <noel@peralex.com>2015-02-23 09:26:58 +0200
commitba233e87efddf0a6751b35784dca1c805364ff3b (patch)
tree9d7c8a4256e688c2d47cb6ecf580ac196c4da2c0 /lotuswordpro/source/filter/lwpobjstrm.cxx
parenta2fa9e2468aa5c4fd4b610c5d0ebc8959e87a072 (diff)
remove unnecessary parenthesis in return statements
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
Diffstat (limited to 'lotuswordpro/source/filter/lwpobjstrm.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpobjstrm.cxx6
1 files changed, 3 insertions, 3 deletions
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<sal_uInt16>(DstSize));
+ return static_cast<sal_uInt16>(DstSize);
}
/**
* @descr quick read string with 1252