diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-11-20 14:37:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-11-20 18:33:03 +0100 |
commit | 18a4ad0a47dc1bcec1b9387126d7c917f7063339 (patch) | |
tree | 8205d33f6b20465052222f75e86e024e080f4a8f /xmloff/source/draw/EnhancedCustomShapeToken.cxx | |
parent | c7b7153213619859d5f049b7c60eafa4c81f5225 (diff) |
fastparser in XMLEnhancedCustomShapeContext
Change-Id: Id5f6466fd62e15b354b2dc11a0dc610cbfb75c27
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106250
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/draw/EnhancedCustomShapeToken.cxx')
-rw-r--r-- | xmloff/source/draw/EnhancedCustomShapeToken.cxx | 6 |
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 |