From bf5eef2415fb84a1c885c8f74a22e575de6971fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 12 Nov 2016 21:13:40 +0000 Subject: [PATCH] coverity#1371152 Missing move assignment operator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I7cf3ed2c1cd392b149d21ee884aac695d5d01be2 Reviewed-on: https://gerrit.libreoffice.org/30796 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svx/source/form/fmvwimp.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index 705b9b1e76ab..f2defdd84139 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -1762,7 +1762,6 @@ void FmXFormView::startMarkListWatching() } } - void FmXFormView::saveMarkList() { if ( m_pView ) @@ -1802,11 +1801,10 @@ void FmXFormView::saveMarkList() else { OSL_FAIL( "FmXFormView::saveMarkList: invalid view!" ); - m_aMark = SdrMarkList(); + m_aMark.Clear(); } } - static bool lcl_hasObject( SdrObjListIter& rIter, SdrObject* pObj ) { bool bFound = false;