summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-05-09 19:14:41 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-05-09 19:51:27 +0200
commitb7affedf9c281d6329ac87c5f3cd0fd0f617acbb (patch)
tree26a8459ba3fa5d7794be1e116bd9f6c315b78c39 /include/xmloff
parent14c12d7a0672148522f0773146f41bb0648f6caa (diff)
const -> constexpr
Change-Id: Ibeeba1862d84e43fa659cb2a97ef3498674f0d40 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151590 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/maptype.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xmloff/maptype.hxx b/include/xmloff/maptype.hxx
index 942f7c46279a..5102b899b11e 100644
--- a/include/xmloff/maptype.hxx
+++ b/include/xmloff/maptype.hxx
@@ -102,7 +102,7 @@ struct XMLPropertyMapEntry
static constexpr OUStringLiteral EMPTY{u""};
template<std::size_t N>
- XMLPropertyMapEntry(
+ constexpr XMLPropertyMapEntry(
const OUStringLiteral<N>& sApiName,
sal_uInt16 nNameSpace,
enum ::xmloff::token::XMLTokenEnum eXMLName,
@@ -118,7 +118,7 @@ struct XMLPropertyMapEntry
{}
/// used to mark the end of the array
- XMLPropertyMapEntry(std::nullptr_t)
+ constexpr XMLPropertyMapEntry(std::nullptr_t)
:
msApiName(EMPTY),
meXMLName(xmloff::token::XML_TOKEN_INVALID), mnNameSpace(0), mnType(0),