diff options
Diffstat (limited to 'xmloff/source/transform/OOo2Oasis.cxx')
-rw-r--r-- | xmloff/source/transform/OOo2Oasis.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xmloff/source/transform/OOo2Oasis.cxx b/xmloff/source/transform/OOo2Oasis.cxx index 9d0a361a3ca0..6e8aad50b037 100644 --- a/xmloff/source/transform/OOo2Oasis.cxx +++ b/xmloff/source/transform/OOo2Oasis.cxx @@ -90,8 +90,10 @@ enum XMLUserDefinedTransformerAction // BM: a macro to put two tokens into one sal_Int32 for the action // XML_ATACTION_RENAME_ATTRIBUTE -#define RENAME_ENTRY( f, s ) \ - (static_cast< sal_Int32 >(f) | (static_cast< sal_Int32 >(s) << 16)) +static constexpr sal_Int32 RENAME_ENTRY( XMLTokenEnum f, XMLTokenEnum s ) +{ + return static_cast< sal_Int32 >(f) | (static_cast< sal_Int32 >(s) << 16); +} static XMLTransformerActionInit const aActionTable[] = { |