summaryrefslogtreecommitdiff
path: root/include/xmloff/xmlement.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/xmloff/xmlement.hxx')
-rw-r--r--include/xmloff/xmlement.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xmloff/xmlement.hxx b/include/xmloff/xmlement.hxx
index 5879324701bf..5a149f6335ad 100644
--- a/include/xmloff/xmlement.hxx
+++ b/include/xmloff/xmlement.hxx
@@ -37,7 +37,7 @@ private:
sal_uInt16 nValue;
public:
SvXMLEnumMapEntry(::xmloff::token::XMLTokenEnum eToken_, EnumT nValue_)
- : eToken(eToken_), nValue(nValue_) {}
+ : eToken(eToken_), nValue(static_cast<sal_uInt16>(nValue_)) {}
::xmloff::token::XMLTokenEnum GetToken() const { return eToken; }
};