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>
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx
index ef33b2c..3fe6215 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;
    }