diff --git a/xmloff/source/text/txtdropi.cxx b/xmloff/source/text/txtdropi.cxx index a076fcc8fff1..896da4eed561 100644 --- a/xmloff/source/text/txtdropi.cxx +++ b/xmloff/source/text/txtdropi.cxx @@ -68,9 +68,9 @@ void XMLTextDropCapImportContext::ProcessAttrs( case XML_ELEMENT(STYLE, XML_DISTANCE): if (GetImport().GetMM100UnitConverter().convertMeasureToCore( - nTmp, aIter.toView(), 0, SAL_MAX_UINT16 )) + nTmp, aIter.toView(), 0, SAL_MAX_INT16 )) { - aFormat.Distance = static_cast(nTmp); + aFormat.Distance = static_cast(nTmp); } break;