[Libreoffice-commits] core.git: filter/source
Miklos Vajna
vmiklos at collabora.co.uk
Fri Jan 12 07:39:28 UTC 2018
filter/source/msfilter/msdffimp.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8eb014b45961376b3c9a01eb2b24b9620c00f777
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri Jan 12 08:38:53 2018 +0100
filter: fix 32bit build
Change-Id: I8959e745c0560806a6512285db7c19e4cb454bac
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index a54ee36f8c0f..f0c98eb30faa 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -3862,7 +3862,7 @@ SdrObject* SvxMSDffManager::ImportGraphic( SvStream& rSt, SfxItemSet& rSet, cons
nContrast = 0;
else
{
- if (o3tl::checked_multiply(nContrast, 101, nContrast)) //100 + 1 to round
+ if (o3tl::checked_multiply<sal_Int32>(nContrast, 101, nContrast)) //100 + 1 to round
{
SAL_WARN("filter.ms", "bad Contrast value:" << nContrast);
nContrast = 0;
More information about the Libreoffice-commits
mailing list