summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-10-28 11:25:59 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2022-10-28 11:20:37 +0200
commit1e1f739f649a9a36c18425209a6d47c5f7b23eac (patch)
treee2880656dacdbba2ce6e84e7bcfa9b5f472e9ca1 /sfx2
parent91bc1e6a8c92a7c895f0ba9dcad9ac4d35f3f791 (diff)
It's Frame-Controller-Model, not Model-View-Controller
Change-Id: I23a867623f77502baed6639ad3e255c06673d67f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141957 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/frmload.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/view/frmload.cxx b/sfx2/source/view/frmload.cxx
index bf9a7b247fbe..f03b08fe5886 100644
--- a/sfx2/source/view/frmload.cxx
+++ b/sfx2/source/view/frmload.cxx
@@ -57,8 +57,8 @@
#include <sal/log.hxx>
#include <svl/eitem.hxx>
#include <svl/stritem.hxx>
+#include <unotools/fcm.hxx>
#include <unotools/moduleoptions.hxx>
-#include <unotools/mvc.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <tools/stream.hxx>
#include <tools/urlobj.hxx>
@@ -581,7 +581,7 @@ Reference< XController2 > SfxFrameLoader_Impl::impl_createDocumentView( const Re
), UNO_SET_THROW );
// introduce model/view/controller to each other
- utl::ConnectModelViewController(i_rModel, i_rFrame, xController);
+ utl::ConnectFrameControllerModel(i_rFrame, xController, i_rModel);
return xController;
}