summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-08-02 19:10:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-03 13:20:48 +0200
commita172ad38f39acfef38f8f84398ec231c2f498e64 (patch)
treec3621860e25b4ec99bd6dc4730b728c50dd693a4 /include/svx
parent16b98ec93e2c04f511ea7fb25777331e48aa580c (diff)
simplify lookup maps in EnhancedCustomShapeTypeNames
simplify initialisation, and use OUString as the key to avoid conversions during lookup Change-Id: I0b1f1f461a4d2375cd92d13bb3333c8e0b887ee7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119897 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/EnhancedCustomShapeTypeNames.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/EnhancedCustomShapeTypeNames.hxx b/include/svx/EnhancedCustomShapeTypeNames.hxx
index fb6efdd731df..b369c8c42c9d 100644
--- a/include/svx/EnhancedCustomShapeTypeNames.hxx
+++ b/include/svx/EnhancedCustomShapeTypeNames.hxx
@@ -27,7 +27,7 @@ namespace EnhancedCustomShapeTypeNames
{
SVXCORE_DLLPUBLIC MSO_SPT Get(const OUString&);
SVXCORE_DLLPUBLIC OUString Get(const MSO_SPT);
-SVXCORE_DLLPUBLIC OUString GetAccName(const OUString&);
+SVXCORE_DLLPUBLIC const OUString& GetAccName(const OUString&);
}
#endif