diff options
Diffstat (limited to 'sdext/source/presenter')
9 files changed, 15 insertions, 15 deletions
diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx index 9a4864ed3916..5d07ed808d55 100644 --- a/sdext/source/presenter/PresenterAccessibility.cxx +++ b/sdext/source/presenter/PresenterAccessibility.cxx @@ -236,7 +236,7 @@ class AccessibleStateSet public AccessibleStateSetInterfaceBase { public: - AccessibleStateSet (const sal_Int32 nStateSet); + explicit AccessibleStateSet (const sal_Int32 nStateSet); virtual ~AccessibleStateSet(); static sal_uInt32 GetStateMask (const sal_Int16 nType); diff --git a/sdext/source/presenter/PresenterBitmapContainer.hxx b/sdext/source/presenter/PresenterBitmapContainer.hxx index 38a06a91ed27..f199012fd55b 100644 --- a/sdext/source/presenter/PresenterBitmapContainer.hxx +++ b/sdext/source/presenter/PresenterBitmapContainer.hxx @@ -50,7 +50,7 @@ public: { public: BitmapDescriptor(); - BitmapDescriptor (const std::shared_ptr<BitmapDescriptor>& rpDefault); + explicit BitmapDescriptor (const std::shared_ptr<BitmapDescriptor>& rpDefault); enum Mode {Normal, MouseOver, ButtonDown, Disabled, Mask}; css::uno::Reference<css::rendering::XBitmap> GetNormalBitmap() const; diff --git a/sdext/source/presenter/PresenterPaneBorderPainter.hxx b/sdext/source/presenter/PresenterPaneBorderPainter.hxx index 603fc9cc76f5..7632fa80f115 100644 --- a/sdext/source/presenter/PresenterPaneBorderPainter.hxx +++ b/sdext/source/presenter/PresenterPaneBorderPainter.hxx @@ -52,7 +52,7 @@ class PresenterPaneBorderPainter public PresenterPaneBorderPainterInterfaceBase { public: - PresenterPaneBorderPainter ( + explicit PresenterPaneBorderPainter ( const css::uno::Reference<css::uno::XComponentContext>& rxContext); virtual ~PresenterPaneBorderPainter(); diff --git a/sdext/source/presenter/PresenterPaneContainer.hxx b/sdext/source/presenter/PresenterPaneContainer.hxx index 99b70e90b62b..18a7a1f8597c 100644 --- a/sdext/source/presenter/PresenterPaneContainer.hxx +++ b/sdext/source/presenter/PresenterPaneContainer.hxx @@ -61,7 +61,7 @@ class PresenterPaneContainer public PresenterPaneContainerInterfaceBase { public: - PresenterPaneContainer ( + explicit PresenterPaneContainer ( const css::uno::Reference<css::uno::XComponentContext>& rxContext); virtual ~PresenterPaneContainer(); diff --git a/sdext/source/presenter/PresenterProtocolHandler.cxx b/sdext/source/presenter/PresenterProtocolHandler.cxx index ddaa4a4cf788..9dbefb239ca3 100644 --- a/sdext/source/presenter/PresenterProtocolHandler.cxx +++ b/sdext/source/presenter/PresenterProtocolHandler.cxx @@ -58,7 +58,7 @@ namespace { class GotoPreviousSlideCommand : public Command { public: - GotoPreviousSlideCommand ( + explicit GotoPreviousSlideCommand ( const rtl::Reference<PresenterController>& rpPresenterController); virtual ~GotoPreviousSlideCommand() {} virtual void Execute() SAL_OVERRIDE; @@ -70,7 +70,7 @@ namespace { class GotoNextSlideCommand : public Command { public: - GotoNextSlideCommand ( + explicit GotoNextSlideCommand ( const rtl::Reference<PresenterController>& rpPresenterController); virtual ~GotoNextSlideCommand() {} virtual void Execute() SAL_OVERRIDE; @@ -85,7 +85,7 @@ namespace { class GotoNextEffectCommand : public Command { public: - GotoNextEffectCommand ( + explicit GotoNextEffectCommand ( const rtl::Reference<PresenterController>& rpPresenterController); virtual ~GotoNextEffectCommand() {} virtual void Execute() SAL_OVERRIDE; @@ -96,7 +96,7 @@ namespace { class SwitchMonitorCommand : public Command { public: - SwitchMonitorCommand ( + explicit SwitchMonitorCommand ( const rtl::Reference<PresenterController>& rpPresenterController); virtual ~SwitchMonitorCommand() {} virtual void Execute() SAL_OVERRIDE; diff --git a/sdext/source/presenter/PresenterProtocolHandler.hxx b/sdext/source/presenter/PresenterProtocolHandler.hxx index 81121fe6b10f..45bd9f946c37 100644 --- a/sdext/source/presenter/PresenterProtocolHandler.hxx +++ b/sdext/source/presenter/PresenterProtocolHandler.hxx @@ -46,7 +46,7 @@ class PresenterProtocolHandler public PresenterProtocolHandlerInterfaceBase { public: - PresenterProtocolHandler (const css::uno::Reference<css::uno::XComponentContext>& rxContext); + explicit PresenterProtocolHandler (const css::uno::Reference<css::uno::XComponentContext>& rxContext); virtual ~PresenterProtocolHandler(); void SAL_CALL disposing() SAL_OVERRIDE; diff --git a/sdext/source/presenter/PresenterScrollBar.cxx b/sdext/source/presenter/PresenterScrollBar.cxx index 2440e17f4659..b0dec0aa77be 100644 --- a/sdext/source/presenter/PresenterScrollBar.cxx +++ b/sdext/source/presenter/PresenterScrollBar.cxx @@ -48,7 +48,7 @@ class PresenterScrollBar::MousePressRepeater : public std::enable_shared_from_this<MousePressRepeater> { public: - MousePressRepeater (const ::rtl::Reference<PresenterScrollBar>& rpScrollBar); + explicit MousePressRepeater (const ::rtl::Reference<PresenterScrollBar>& rpScrollBar); void Dispose(); void Start (const PresenterScrollBar::Area& reArea); void Stop(); diff --git a/sdext/source/presenter/PresenterSlideSorter.cxx b/sdext/source/presenter/PresenterSlideSorter.cxx index 151395223378..ef45c7d97c4a 100644 --- a/sdext/source/presenter/PresenterSlideSorter.cxx +++ b/sdext/source/presenter/PresenterSlideSorter.cxx @@ -84,7 +84,7 @@ namespace { class PresenterSlideSorter::Layout { public: - Layout (const ::rtl::Reference<PresenterScrollBar>& rpVerticalScrollBar); + explicit Layout (const ::rtl::Reference<PresenterScrollBar>& rpVerticalScrollBar); void Update (const geometry::RealRectangle2D& rBoundingBox, const double nSlideAspectRatio); void SetupVisibleArea(); diff --git a/sdext/source/presenter/PresenterToolBar.cxx b/sdext/source/presenter/PresenterToolBar.cxx index 660e12df9caa..3b102475398d 100644 --- a/sdext/source/presenter/PresenterToolBar.cxx +++ b/sdext/source/presenter/PresenterToolBar.cxx @@ -132,7 +132,7 @@ namespace { public ElementInterfaceBase { public: - Element (const ::rtl::Reference<PresenterToolBar>& rpToolBar); + explicit Element (const ::rtl::Reference<PresenterToolBar>& rpToolBar); virtual ~Element(); virtual void SAL_CALL disposing() SAL_OVERRIDE; @@ -243,7 +243,7 @@ namespace { class Label : public Element { public: - Label (const ::rtl::Reference<PresenterToolBar>& rpToolBar); + explicit Label (const ::rtl::Reference<PresenterToolBar>& rpToolBar); void SetText (const OUString& rsText); virtual void Paint ( @@ -275,14 +275,14 @@ namespace { void ConnectToTimer(); virtual void TimeHasChanged (const oslDateTime& rCurrentTime) = 0; protected: - TimeLabel(const ::rtl::Reference<PresenterToolBar>& rpToolBar); + explicit TimeLabel(const ::rtl::Reference<PresenterToolBar>& rpToolBar); using Element::disposing; virtual void SAL_CALL disposing() SAL_OVERRIDE; private: class Listener : public PresenterClockTimer::Listener { public: - Listener (const ::rtl::Reference<TimeLabel>& rxLabel) + explicit Listener (const ::rtl::Reference<TimeLabel>& rxLabel) : mxLabel(rxLabel) {} virtual ~Listener() {} virtual void TimeHasChanged (const oslDateTime& rCurrentTime) SAL_OVERRIDE |