diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-10-25 20:51:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-10-25 20:51:41 +0100 |
commit | 8a79965551b3f59942db9d9a258118b9dd9f6122 (patch) | |
tree | e9cdab9816e33a5b034a6c143d896659133bf09b | |
parent | d754330e05ba2d81fb263f569bddf3e537b8054c (diff) |
no matching overload found
Change-Id: I0e1d28c6ee3e95a28e4b66c49de75fcbf9ca65fe
-rw-r--r-- | xmloff/source/draw/ximpshap.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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 ) ) { |