diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2022-10-28 11:25:59 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-10-28 11:20:37 +0200 |
commit | 1e1f739f649a9a36c18425209a6d47c5f7b23eac (patch) | |
tree | e2880656dacdbba2ce6e84e7bcfa9b5f472e9ca1 /dbaccess | |
parent | 91bc1e6a8c92a7c895f0ba9dcad9ac4d35f3f791 (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 'dbaccess')
-rw-r--r-- | dbaccess/source/filter/xml/dbloader2.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/dbloader.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/filter/xml/dbloader2.cxx b/dbaccess/source/filter/xml/dbloader2.cxx index bfcdfc074026..7b10bf2b523f 100644 --- a/dbaccess/source/filter/xml/dbloader2.cxx +++ b/dbaccess/source/filter/xml/dbloader2.cxx @@ -52,8 +52,8 @@ #include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <sfx2/docfile.hxx> +#include <unotools/fcm.hxx> #include <unotools/moduleoptions.hxx> -#include <unotools/mvc.hxx> #include <comphelper/diagnose_ex.hxx> #include <vcl/svapp.hxx> @@ -449,7 +449,7 @@ void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const OU Reference< XController2 > xController( xModel2->createViewController( sViewName, Sequence< PropertyValue >(), rFrame ), UNO_SET_THROW ); // introduce model/view/controller to each other - utl::ConnectModelViewController(xModel, rFrame, xController); + utl::ConnectFrameControllerModel(rFrame, xController, xModel); bSuccess = true; } diff --git a/dbaccess/source/ui/browser/dbloader.cxx b/dbaccess/source/ui/browser/dbloader.cxx index d5c4395efe3a..f2dfd2a497f9 100644 --- a/dbaccess/source/ui/browser/dbloader.cxx +++ b/dbaccess/source/ui/browser/dbloader.cxx @@ -38,7 +38,7 @@ #include <cppuhelper/supportsservice.hxx> #include <comphelper/diagnose_ex.hxx> #include <tools/urlobj.hxx> -#include <unotools/mvc.hxx> +#include <unotools/fcm.hxx> #include <vcl/svapp.hxx> using namespace ::com::sun::star; |