diff options
-rw-r--r-- | svx/source/table/tablecontroller.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx index d6541073be6e..232ed782414a 100644 --- a/svx/source/table/tablecontroller.cxx +++ b/svx/source/table/tablecontroller.cxx @@ -1529,11 +1529,11 @@ void SvxTableController::changeTableEdge(const SfxRequest& rReq) { auto pUndoObject = rModel.GetSdrUndoFactory().CreateUndoGeoObject(rTableObj); rModel.BegUndo(pUndoObject->GetComment()); - rModel.AddUndo(std::move(pUndoObject)); auto* pGeoUndo = static_cast<SdrUndoGeoObj*>(pUndoObject.get()); if (pGeoUndo) pGeoUndo->SetSkipChangeLayout(true); + rModel.AddUndo(std::move(pUndoObject)); } tools::Rectangle aBoundRect; if (rTableObj.GetUserCall()) |