sc/source/core/data/queryevaluator.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a599e493f36cdfbc211debce81fab022121bd71d
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Fri Oct 25 21:45:10 2024 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Sat Oct 26 11:52:15 2024 +0200

    reduce some rtl_uString_acquire/rtl_uString_release pairs
    
    Change-Id: I6d18b07bb0fb1ec355fb4fbfa166449c1041aa82
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175667
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Tested-by: Jenkins

diff --git a/sc/source/core/data/queryevaluator.cxx 
b/sc/source/core/data/queryevaluator.cxx
index cc1da17de152..85b51e5a71b3 100644
--- a/sc/source/core/data/queryevaluator.cxx
+++ b/sc/source/core/data/queryevaluator.cxx
@@ -337,7 +337,7 @@ svl::SharedString 
ScQueryEvaluator::getCellSharedString(const ScRefCellValue& rC
         if (it == mCachedSharedErrorStrings.end())
         {
             svl::SharedString str = 
mrStrPool.intern(ScGlobal::GetErrorString(error));
-            auto pos = mCachedSharedErrorStrings.insert({ error, str });
+            auto pos = mCachedSharedErrorStrings.insert({ error, 
std::move(str) });
             assert(pos.second); // inserted
             it = pos.first;
         }

Reply via email to