summaryrefslogtreecommitdiff
path: root/sd/source/ui/slideshow/slideshowimpl.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-12-28 13:49:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-12-28 17:38:47 +0100
commit60d8f836a33aa3bf0e7fcaa04a4d64ce3228ee71 (patch)
tree1042b5acd802621ce74e7486b06398e1fcd8da66 /sd/source/ui/slideshow/slideshowimpl.hxx
parent114fcfd8754a3996df3a346380dc3840602b398a (diff)
use comphelper::WeakComponentImplHelper in SlideshowImpl
Change-Id: I5adfe14dfb6d466f288c4ab665aa1642d8fd175f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127632 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/slideshow/slideshowimpl.hxx')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx
index a453d12ab389..33d74d60c7cc 100644
--- a/sd/source/ui/slideshow/slideshowimpl.hxx
+++ b/sd/source/ui/slideshow/slideshowimpl.hxx
@@ -21,7 +21,7 @@
#include <memory>
#include <sal/config.h>
-#include <cppuhelper/compbase.hxx>
+#include <comphelper/compbase.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/basemutex.hxx>
#include <comphelper/interfacecontainer3.hxx>
@@ -122,9 +122,9 @@ private:
css::uno::Reference< css::presentation::XSlideShow > mxSlideShow;
};
-typedef ::cppu::WeakComponentImplHelper< css::presentation::XSlideShowController, css::container::XIndexAccess > SlideshowImplBase;
+typedef comphelper::WeakComponentImplHelper< css::presentation::XSlideShowController, css::container::XIndexAccess > SlideshowImplBase;
-class SlideshowImpl final : private ::cppu::BaseMutex, public SlideshowImplBase
+class SlideshowImpl final : public SlideshowImplBase
{
friend class SlideShow;
friend class SlideShowView;
@@ -207,7 +207,7 @@ private:
// This function is called upon disposing the component,
// if your component needs special work when it becomes
// disposed, do it here.
- virtual void SAL_CALL disposing() override;
+ virtual void disposing(std::unique_lock<std::mutex>&) override;
// internal
bool startShow( PresentationSettingsEx const * pPresSettings );