summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2011-11-28 18:24:11 +0100
committerRadek Doulik <rodo@novell.com>2011-11-28 18:25:54 +0100
commit7bf1fa3757133f12cf6ca624f8cee6ba5363e7d8 (patch)
tree6a6f451477fbfc6d2e6476649190a1ca4533a575 /xmloff
parentce33bdce9d3499b7419b9210a2b5117ccda7ea32 (diff)
switch source and target units, so that it works right with sax conversions
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmluconv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/core/xmluconv.cxx b/xmloff/source/core/xmluconv.cxx
index 1cf482ce46b3..5ea85f108975 100644
--- a/xmloff/source/core/xmluconv.cxx
+++ b/xmloff/source/core/xmluconv.cxx
@@ -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
{