[Libreoffice-commits] core.git: xmloff/source
Stephan Bergmann
sbergman at redhat.com
Fri Oct 24 05:17:49 PDT 2014
xmloff/source/draw/XMLImageMapContext.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 521b973854cddbd2244bb752e111ded4ba9f0265
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Oct 24 14:17:10 2014 +0200
XM_TOK_UNKNOWN needs to be in the value range of XMLImageMapToken (ubsan)
Change-Id: Ief14b775851f457becb6f42b9a74e423bb73ed32
diff --git a/xmloff/source/draw/XMLImageMapContext.cxx b/xmloff/source/draw/XMLImageMapContext.cxx
index 0562b98..abd7e20 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,
More information about the Libreoffice-commits
mailing list