[Libreoffice-commits] core.git: vcl/source
Caolán McNamara
caolanm at redhat.com
Wed Jan 18 09:55:24 UTC 2017
vcl/source/gdi/svmconverter.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a16225ce72f76febac3b6f3df7b62f280d71db1f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jan 18 09:53:29 2017 +0000
don't need so many brackets
Change-Id: I6488bf57af2e7ae9aadd340dc0ef2467f0ea5111
diff --git a/vcl/source/gdi/svmconverter.cxx b/vcl/source/gdi/svmconverter.cxx
index f0185d8..2fba137 100644
--- a/vcl/source/gdi/svmconverter.cxx
+++ b/vcl/source/gdi/svmconverter.cxx
@@ -523,7 +523,7 @@ void SVMConverter::ImplConvertFromSVM1( SvStream& rIStm, GDIMetaFile& rMtf )
nActions = 0;
}
- const size_t nMinActionSize = (sizeof(sal_uInt16) + sizeof(sal_Int32));
+ const size_t nMinActionSize = sizeof(sal_uInt16) + sizeof(sal_Int32);
const size_t nMaxPossibleActions = rIStm.remainingSize() / nMinActionSize;
if (static_cast<sal_uInt32>(nActions) > nMaxPossibleActions)
{
More information about the Libreoffice-commits
mailing list