summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-10-24 14:17:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-10-24 14:17:10 +0200
commit521b973854cddbd2244bb752e111ded4ba9f0265 (patch)
treed4350e484ef3f40547e4baa92d93c0bb86de393f
parent95c798409acf491cd43530215ade8f403ad96579 (diff)
XM_TOK_UNKNOWN needs to be in the value range of XMLImageMapToken (ubsan)
Change-Id: Ief14b775851f457becb6f42b9a74e423bb73ed32
-rw-r--r--xmloff/source/draw/XMLImageMapContext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/XMLImageMapContext.cxx b/xmloff/source/draw/XMLImageMapContext.cxx
index 0562b98d6a16..abd7e20f68e7 100644
--- a/xmloff/source/draw/XMLImageMapContext.cxx
+++ b/xmloff/source/draw/XMLImageMapContext.cxx
@@ -58,7 +58,7 @@ using ::com::sun::star::drawing::PointSequenceSequence;
using ::com::sun::star::document::XEventsSupplier;
-enum XMLImageMapToken
+enum XMLImageMapToken: decltype(XML_TOK_UNKNOWN)
{
XML_TOK_IMAP_URL,
XML_TOK_IMAP_X,