diff options
Diffstat (limited to 'sw/source/uibase/app/appenv.cxx')
-rw-r--r-- | sw/source/uibase/app/appenv.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/app/appenv.cxx b/sw/source/uibase/app/appenv.cxx index f4fcb423ff86..cd19bc6ce47c 100644 --- a/sw/source/uibase/app/appenv.cxx +++ b/sw/source/uibase/app/appenv.cxx @@ -454,7 +454,7 @@ void SwModule::InsertEnv( SfxRequest& rReq ) // Move Flys to the "old" pages if (!aFlyArr.empty()) - pSh->SetPageObjsNewPage(aFlyArr, 1); + pSh->SetPageObjsNewPage(aFlyArr); // Finished pSh->SttEndDoc(true); @@ -462,7 +462,7 @@ void SwModule::InsertEnv( SfxRequest& rReq ) pSh->EndAllAction(); if (nMode == ENV_NEWDOC) - pSh->DoUndo(true); + pSh->DoUndo(); else pSh->EndUndo(UNDO_UI_INSERT_ENVELOPE); |