summaryrefslogtreecommitdiff
path: root/helpcompiler/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-11-11 09:56:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-11-11 18:29:07 +0100
commit2f94498419cf8e20937e46aa99f80418fd8d57f6 (patch)
tree867a34d63b0bf47028ad9d316e35cc2683f00393 /helpcompiler/source
parentce8816ff95c06ce86dffee90431e6538b676b5e4 (diff)
loplugin:reftotemp in helpcompiler..i18npool
Change-Id: I6f7794e6988d1e91c848a093ed85ddb0c6d1c67a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176373 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'helpcompiler/source')
-rw-r--r--helpcompiler/source/HelpCompiler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx
index 57f3f5bca179..1431395a8b3d 100644
--- a/helpcompiler/source/HelpCompiler.cxx
+++ b/helpcompiler/source/HelpCompiler.cxx
@@ -87,7 +87,7 @@ void HelpCompiler::saveXhpForJar( xmlDocPtr doc, const fs::path &filePath )
#else
std::string pathSep = "/";
#endif
- const std::string& sourceXhpPath = filePath.native_file_string();
+ const std::string sourceXhpPath = filePath.native_file_string();
std::string zipdirPath = zipdir.native_file_string();
const std::string srcdirPath( src.native_file_string() );
// srcdirPath contains trailing /, but we want the file path with / at the beginning