switch source and target units, so that it works right with sax conversions

This commit is contained in:
Radek Doulik
2011-11-28 18:24:11 +01:00
parent ce33bdce9d
commit 7bf1fa3757

View File

@@ -340,7 +340,7 @@ sal_Bool SvXMLUnitConverter::convertDouble(double& rValue,
rString, m_pImpl->m_eCoreMeasureUnit);
return ::sax::Converter::convertDouble(rValue, rString,
eSrcUnit, m_pImpl->m_eCoreMeasureUnit);
m_pImpl->m_eCoreMeasureUnit, eSrcUnit);
}
else
{