summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/XMLImageMapExport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/XMLImageMapExport.cxx')
-rw-r--r--xmloff/source/draw/XMLImageMapExport.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/draw/XMLImageMapExport.cxx b/xmloff/source/draw/XMLImageMapExport.cxx
index 9ea9b5863e88..43ba08306b38 100644
--- a/xmloff/source/draw/XMLImageMapExport.cxx
+++ b/xmloff/source/draw/XMLImageMapExport.cxx
@@ -18,6 +18,7 @@
*/
#include "XMLImageMapExport.hxx"
+#include <o3tl/any.hxx>
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
#include <tools/debug.hxx>
@@ -199,7 +200,7 @@ void XMLImageMapExport::ExportMapEntry(
// is-active
aAny = rPropertySet->getPropertyValue(msIsActive);
- if (! *static_cast<sal_Bool const *>(aAny.getValue()))
+ if (! *o3tl::doGet<bool>(aAny))
{
mrExport.AddAttribute(XML_NAMESPACE_DRAW, XML_NOHREF, XML_NOHREF);
}