diff options
author | Armin Le Grand <Armin.Le.Grand@Sun.COM> | 2010-05-07 14:42:22 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@Sun.COM> | 2010-05-07 14:42:22 +0200 |
commit | c46278f9a1012448711dae5342803c483b52df70 (patch) | |
tree | 8480920122e42b47782e25b20801171e49846e2e /svx/source/svdraw/svdedtv.cxx | |
parent | 4f4296612fa42daf3ec30dc76692a4f390362bd1 (diff) |
#i110981# do nothing when nothing to do
Diffstat (limited to 'svx/source/svdraw/svdedtv.cxx')
-rw-r--r-- | svx/source/svdraw/svdedtv.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdedtv.cxx b/svx/source/svdraw/svdedtv.cxx index 3b878ce93138..5eae04dbbc87 100644 --- a/svx/source/svdraw/svdedtv.cxx +++ b/svx/source/svdraw/svdedtv.cxx @@ -805,6 +805,12 @@ void SdrEditView::DeleteMarkedList(const SdrMarkList& rMark) void SdrEditView::DeleteMarkedObj() { + // #i110981# return when nothing is to be done at all + if(!GetMarkedObjectCount()) + { + return; + } + // moved breaking action and undo start outside loop BrkAction(); BegUndo(ImpGetResStr(STR_EditDelete),GetDescriptionOfMarkedObjects(),SDRREPFUNC_OBJ_DELETE); |