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 /chart2 | |
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 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartFrameloader.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/main/ChartFrameloader.cxx b/chart2/source/controller/main/ChartFrameloader.cxx index 1a3fa8641a6c..2ff45588002b 100644 --- a/chart2/source/controller/main/ChartFrameloader.cxx +++ b/chart2/source/controller/main/ChartFrameloader.cxx @@ -22,8 +22,8 @@ #include <MediaDescriptorHelper.hxx> #include <ChartController.hxx> #include <ChartModel.hxx> +#include <unotools/fcm.hxx> #include <unotools/mediadescriptor.hxx> -#include <unotools/mvc.hxx> #include <cppuhelper/supportsservice.hxx> #include <com/sun/star/frame/XLoadable.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -111,7 +111,7 @@ sal_Bool SAL_CALL ChartFrameLoader::load( const uno::Sequence< beans::PropertyVa //connect frame, controller and model one to each other: if(xModel.is()) { - utl::ConnectModelViewController(xModel, xFrame, xController); + utl::ConnectFrameControllerModel(xFrame, xController, xModel); } // call initNew() or load() at XLoadable |