summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-27 15:11:33 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-28 21:18:11 +0100
commit10e7d8d1dcf0e3a45044643ab7b572af997543e9 (patch)
tree2d9aba46daa4b27ace1c05b0cb832ea49e8344c8 /sw
parent2e1f9da8a6359c8909e087a92239aefd4851b116 (diff)
cid#1545240 COPY_INSTEAD_OF_MOVE
Change-Id: Ia8cf79801769f3d5026770d1edce0fa6daaad475 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161370 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/rtfattributeoutput.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx
index ef33b2c2d53c..3fe6215f5e44 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -2109,7 +2109,7 @@ void RtfAttributeOutput::writeTextFrame(const ww8::Frame& rFrame, bool bTextBox)
m_bSingleEmptyRun = bSingleEmptyRunOrig;
// Restore table state.
- m_rExport.m_pTableInfo = pTableInfoOrig;
+ m_rExport.m_pTableInfo = std::move(pTableInfoOrig);
m_pTableWrt = std::move(pTableWrt);
m_nTableDepth = nTableDepth;
}