svx/source/svdraw/svdedtv2.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 8f72afaf55a2fdf5a4d25984d2b39b410359d0d1 Author: Caolán McNamara <caol...@redhat.com> Date: Fri Aug 28 13:08:44 2015 +0100
implement undo for equalize-marked-objects Change-Id: I245e08674b52c2a5648e9d7762101b8057fd30e9 diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx index 75c884c..719355d 100644 --- a/svx/source/svdraw/svdedtv2.cxx +++ b/svx/source/svdraw/svdedtv2.cxx @@ -1200,6 +1200,8 @@ void SdrEditView::EqualizeMarkedObjects(bool bWidth) else aLogicRectSize.Height() = aLastRectSize.Height(); aLogicRect.SetSize(aLogicRectSize); + if (bUndo) + AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pObj)); pObj->SetLogicRect(aLogicRect); }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits