summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-11-26 19:26:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-27 19:52:47 +0100
commitd510a9783d59acdc94b06257a0f0b5f03a10dab4 (patch)
tree076c6d8fc3d88475fb1bcbc63daf94fa8bcfd57a /sc/inc
parentf5e9012dcf2ad14a82a879beed645f83439d08bf (diff)
use more OInterfaceContainerHelper3 in sc
Change-Id: I27df936f95ac7727b58ad196201df6d56bceeca9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125943 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/docuno.hxx4
-rw-r--r--sc/inc/fielduno.hxx7
2 files changed, 5 insertions, 6 deletions
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx
index dd3f10e285e9..420975ace5d7 100644
--- a/sc/inc/docuno.hxx
+++ b/sc/inc/docuno.hxx
@@ -51,7 +51,7 @@
#include <com/sun/star/util/XChangesNotifier.hpp>
#include <com/sun/star/uno/XAggregation.hpp>
#include <cppuhelper/implbase.hxx>
-#include <comphelper/interfacecontainer2.hxx>
+#include <comphelper/interfacecontainer3.hxx>
#include <svl/itemprop.hxx>
#include <vcl/ITiledRenderable.hxx>
@@ -108,7 +108,7 @@ private:
css::uno::Reference<css::uno::XInterface> xChartDataProv;
css::uno::Reference<css::uno::XInterface> xObjProvider;
- ::comphelper::OInterfaceContainerHelper2 maChangesListeners;
+ ::comphelper::OInterfaceContainerHelper3<css::util::XChangesListener> maChangesListeners;
bool FillRenderMarkData( const css::uno::Any& aSelection,
const css::uno::Sequence< css::beans::PropertyValue >& rOptions,
diff --git a/sc/inc/fielduno.hxx b/sc/inc/fielduno.hxx
index 4394d5931581..2702455ccb62 100644
--- a/sc/inc/fielduno.hxx
+++ b/sc/inc/fielduno.hxx
@@ -33,6 +33,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/util/XRefreshable.hpp>
#include <com/sun/star/util/DateTime.hpp>
+#include <comphelper/interfacecontainer3.hxx>
#include <comphelper/servicehelper.hxx>
#include <cppuhelper/component.hxx>
#include <cppuhelper/implbase.hxx>
@@ -41,8 +42,6 @@
#include <memory>
-namespace comphelper { class OInterfaceContainerHelper2; }
-
class ScEditSource;
class SvxFieldItem;
class SvxFieldData;
@@ -64,7 +63,7 @@ private:
ScAddress aCellPos;
std::unique_ptr<ScEditSource> mpEditSource;
/// List of refresh listeners.
- std::unique_ptr<comphelper::OInterfaceContainerHelper2> mpRefreshListeners;
+ std::unique_ptr<comphelper::OInterfaceContainerHelper3<css::util::XRefreshListener>> mpRefreshListeners;
/// mutex to lock the InterfaceContainerHelper
osl::Mutex aMutex;
@@ -118,7 +117,7 @@ private:
std::unique_ptr<ScEditSource> mpEditSource;
/// List of refresh listeners.
- std::unique_ptr<comphelper::OInterfaceContainerHelper2> mpRefreshListeners;
+ std::unique_ptr<comphelper::OInterfaceContainerHelper3<css::util::XRefreshListener>> mpRefreshListeners;
/// mutex to lock the InterfaceContainerHelper
osl::Mutex aMutex;