xmloff/source/draw/ximpshap.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 8a79965551b3f59942db9d9a258118b9dd9f6122 Author: Caolán McNamara <caol...@redhat.com> Date: Wed Oct 25 20:51:32 2017 +0100 no matching overload found Change-Id: I0e1d28c6ee3e95a28e4b66c49de75fcbf9ca65fe diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index 7a77be7d0fa3..c4fc1b294187 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -852,18 +852,18 @@ void SdXMLShapeContext::processAttribute( sal_uInt16 nPrefix, const OUString& rL GetImport().GetMM100UnitConverter().convertMeasureToCore( maSize.Width, rValue); if (maSize.Width > 0) - maSize.Width = o3tl::saturating_add(maSize.Width, 1); + maSize.Width = o3tl::saturating_add<sal_Int32>(maSize.Width, 1); else if (maSize.Width < 0) - maSize.Width = o3tl::saturating_add(maSize.Width, -1); + maSize.Width = o3tl::saturating_add<sal_Int32>(maSize.Width, -1); } else if( IsXMLToken( rLocalName, XML_HEIGHT ) ) { GetImport().GetMM100UnitConverter().convertMeasureToCore( maSize.Height, rValue); if (maSize.Height > 0) - maSize.Height = o3tl::saturating_add(maSize.Height, 1); + maSize.Height = o3tl::saturating_add<sal_Int32>(maSize.Height, 1); else if (maSize.Height < 0) - maSize.Height = o3tl::saturating_add(maSize.Height, -1); + maSize.Height = o3tl::saturating_add<sal_Int32>(maSize.Height, -1); } else if( IsXMLToken( rLocalName, XML_TRANSFORM ) ) {
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits