summaryrefslogtreecommitdiff
path: root/include/basic/sbdef.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-11-06 13:39:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-11-06 15:45:14 +0100
commitd5b55513cdc05e8d622897201e233eb0ad5147b7 (patch)
tree4bd23ff2d444b876ef7cdbe3c4053929d7884d94 /include/basic/sbdef.hxx
parent95911bf6b8ae0d13f0c3cfc93c06badff822eefb (diff)
loplugin:passstuffbyref in basic
Change-Id: I1aee08f0ff2a3dabcedc49a31e7ff4de9428007e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176136 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/basic/sbdef.hxx')
-rw-r--r--include/basic/sbdef.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/basic/sbdef.hxx b/include/basic/sbdef.hxx
index 0fe4ce52b686..a82fc1c9461d 100644
--- a/include/basic/sbdef.hxx
+++ b/include/basic/sbdef.hxx
@@ -28,7 +28,7 @@ class ErrCode;
// Returns type name for Basic type, array flag is ignored
// implementation: basic/source/runtime/methods.cxx
-BASIC_DLLPUBLIC OUString getBasicTypeName( SbxDataType eType );
+BASIC_DLLPUBLIC const OUString & getBasicTypeName( SbxDataType eType );
// Returns type name for Basic objects, especially
// important for SbUnoObj instances