svl/source/misc/sharedstringpool.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2b16fd7e9be7a61a0acb1c134cc55fa3f66655c8
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Thu Nov 21 08:36:43 2024 +0000
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Thu Nov 21 11:43:40 2024 +0100

    cid#1634867 Using a moved object
    
    since:
    
    commit 193207c5abf339253e15b59f398da0c1f6f43bee
    CommitDate: Tue Nov 19 07:46:25 2024 +0100
    
        improve loplugin passparamsbyref
    
    Change-Id: Ib2dfa03dfe66630ddb902ea4e75338ca70857e90
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176899
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Tested-by: Jenkins

diff --git a/svl/source/misc/sharedstringpool.cxx 
b/svl/source/misc/sharedstringpool.cxx
index 8cf20475bd5c..17e41e3a76ff 100644
--- a/svl/source/misc/sharedstringpool.cxx
+++ b/svl/source/misc/sharedstringpool.cxx
@@ -24,7 +24,7 @@ struct StringWithHash
     sal_Int32 hashCode;
     StringWithHash(OUString s)
         : str(std::move(s))
-        , hashCode(s.hashCode())
+        , hashCode(str.hashCode())
     {
     }
 

Reply via email to