summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-11-11 19:33:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-11-11 21:02:55 +0100
commit2cb43c6b88931beedd506b33bb77ca8089ba7094 (patch)
treeb20422fff4e651bb45d1ed3668f8cf75da4a0423 /pyuno
parent61d7bd4cd2117e8c4a9bb1cb8fe306438ec34245 (diff)
clang-tidy: performance-unnecessary-copy-initialization in various
Change-Id: Ib7d75d4d8207261898568402e7983e0f11da14bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176417 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno_module.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx
index 195382810674..e2edfeb601cd 100644
--- a/pyuno/source/module/pyuno_module.cxx
+++ b/pyuno/source/module/pyuno_module.cxx
@@ -238,7 +238,7 @@ static PyObject* getComponentContext(
Reference<XComponentContext> ctx;
// getLibDir() must be called in order to set bootstrap variables correctly !
- OUString path( getLibDir());
+ const OUString& path( getLibDir());
if( Runtime::isInitialized() )
{
Runtime runtime;