summaryrefslogtreecommitdiff
path: root/lotuswordpro/source
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 /lotuswordpro/source
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 'lotuswordpro/source')
-rw-r--r--lotuswordpro/source/filter/lwpfribmark.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpfribmark.cxx b/lotuswordpro/source/filter/lwpfribmark.cxx
index 56c2f86a9234..ac38fb3dbab7 100644
--- a/lotuswordpro/source/filter/lwpfribmark.cxx
+++ b/lotuswordpro/source/filter/lwpfribmark.cxx
@@ -363,7 +363,7 @@ void LwpFribField::RegisterStyle(LwpFoundry* pFoundry)
void LwpFribField::RegisterTimeField(const LwpFieldMark* pFieldMark)
{
- OUString sFormula
+ const OUString& sFormula
= pFieldMark->GetFormula(); //now bookmark maybe not all register to bookmarkmgr,
if (sFormula == "TotalEditingTime") //so check field type now is not correct.
RegisterTotalTimeStyle();