summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
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;
}