diff options
author | Noel Grandin <noel@peralex.com> | 2014-07-31 10:19:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-07-31 11:38:48 +0200 |
commit | 7e0e581c162a8836034a47e84d28a638e9aa9744 (patch) | |
tree | 93c30692cb61c6d5f0731dd080015ffa66cef2fa /xmloff | |
parent | 65803ad94c8652edb84f82202717b1b206407a65 (diff) |
cleanup usage of MapUnit enum
some places were using the wrong enum constant, and some places were
unnnecessarily converting to sal_Int16
Change-Id: I754993533c840cd33106820d99af2dc951f26a80
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/xmluconv.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/core/xmluconv.cxx b/xmloff/source/core/xmluconv.cxx index c441566b3546..5f3eb01c780c 100644 --- a/xmloff/source/core/xmluconv.cxx +++ b/xmloff/source/core/xmluconv.cxx @@ -59,8 +59,8 @@ const sal_Int8 XML_MAXDIGITSCOUNT_TIME = 11; struct SvXMLUnitConverter::Impl { - sal_Int16 m_eCoreMeasureUnit; - sal_Int16 m_eXMLMeasureUnit; + sal_Int16 m_eCoreMeasureUnit; /*css::util::MeasureUnit*/ + sal_Int16 m_eXMLMeasureUnit; /*css::util::MeasureUnit*/ util::Date m_aNullDate; mutable uno::Reference< text::XNumberingTypeInfo > m_xNumTypeInfo; mutable uno::Reference< i18n::XCharacterClassification > m_xCharClass; @@ -97,12 +97,12 @@ SvXMLUnitConverter::getNumTypeInfo() const return m_pImpl->m_xNumTypeInfo; } -void SvXMLUnitConverter::SetCoreMeasureUnit(sal_Int16 const eCoreMeasureUnit) +void SvXMLUnitConverter::SetCoreMeasureUnit(sal_Int16 const eCoreMeasureUnit/*css::util::MeasureUnit*/) { m_pImpl->m_eCoreMeasureUnit = eCoreMeasureUnit; } -void SvXMLUnitConverter::SetXMLMeasureUnit(sal_Int16 const eXMLMeasureUnit) +void SvXMLUnitConverter::SetXMLMeasureUnit(sal_Int16 const eXMLMeasureUnit/*css::util::MeasureUnit*/) { m_pImpl->m_eXMLMeasureUnit = eXMLMeasureUnit; } |