summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/EnhancedCustomShapeToken.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/EnhancedCustomShapeToken.cxx')
-rw-r--r--xmloff/source/draw/EnhancedCustomShapeToken.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmloff/source/draw/EnhancedCustomShapeToken.cxx b/xmloff/source/draw/EnhancedCustomShapeToken.cxx
index 78e476784ac7..34bc3f61b874 100644
--- a/xmloff/source/draw/EnhancedCustomShapeToken.cxx
+++ b/xmloff/source/draw/EnhancedCustomShapeToken.cxx
@@ -19,6 +19,7 @@
#include <EnhancedCustomShapeToken.hxx>
#include <osl/mutex.hxx>
+#include <xmloff/xmlimp.hxx>
#include <unordered_map>
#include <memory>
@@ -196,6 +197,11 @@ EnhancedCustomShapeTokenEnum EASGet( const OUString& rShapeType )
return eRetValue;
}
+EnhancedCustomShapeTokenEnum EASGet( sal_Int32 nToken )
+{
+ return EASGet(SvXMLImport::getNameFromToken(nToken));
+}
+
OUString EASGet( const EnhancedCustomShapeTokenEnum eToken )
{
sal_uInt32 i = eToken >= EAS_Last