chart2/source/model/main/ChartModel.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 04777d49b17834a5edf0063e89b968afae457191
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sun Jan 14 16:32:33 2024 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Sun Jan 14 20:55:35 2024 +0100

    cid#1585558 Using a moved object
    
    Change-Id: I59575034053cff0a4c534bdab7e80757839bab16
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162048
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/chart2/source/model/main/ChartModel.cxx 
b/chart2/source/model/main/ChartModel.cxx
index 6c4fe2dfa658..4b97963cc42a 100644
--- a/chart2/source/model/main/ChartModel.cxx
+++ b/chart2/source/model/main/ChartModel.cxx
@@ -169,7 +169,7 @@ ChartModel::ChartModel( const ChartModel & rOther )
                 xListener = this;
                 m_xTitle = xNewTitle;
                 m_xDiagram = xNewDiagram;
-                m_xPageBackground = std::move(xNewPageBackground);
+                m_xPageBackground = xNewPageBackground;
                 m_xChartTypeManager = std::move(xChartTypeManager);
                 m_xXMLNamespaceMap = std::move(xXMLNamespaceMap);
             }

Reply via email to