summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-11-12 21:13:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-11-13 16:22:34 +0000
commitbf5eef2415fb84a1c885c8f74a22e575de6971fe (patch)
treede85de5da8070017b66f026b0f5dc243c964bde3 /svx
parentae922863c4932be38ef53ae5e985a668724e8f15 (diff)
coverity#1371152 Missing move assignment operator
Change-Id: I7cf3ed2c1cd392b149d21ee884aac695d5d01be2 Reviewed-on: https://gerrit.libreoffice.org/30796 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmvwimp.cxx4
1 files changed, 1 insertions, 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;