diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx index 4e2ffd113bd0..665e932a18c9 100644 --- a/svx/source/svdraw/svdview.cxx +++ b/svx/source/svdraw/svdview.cxx @@ -1371,7 +1371,7 @@ void SdrView::MarkAll() { const SdrObject* pObj(rMarkList.GetMark(0)->GetMarkedSdrObj()); SdrView* pView = this; - if (pObj && pView && (pObj->GetObjInventor() == SdrInventor::Default) + if (pObj && (pObj->GetObjInventor() == SdrInventor::Default) && (pObj->GetObjIdentifier() == SdrObjKind::Table)) { mxSelectionController.clear();