diff options
Diffstat (limited to 'sdext/source/presenter')
-rw-r--r-- | sdext/source/presenter/PresenterController.cxx | 4 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterController.hxx | 4 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterTheme.cxx | 10 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterToolBar.cxx | 10 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterToolBar.hxx | 2 |
5 files changed, 14 insertions, 16 deletions
diff --git a/sdext/source/presenter/PresenterController.cxx b/sdext/source/presenter/PresenterController.cxx index 26bd1d5f4208..a7771ea220ac 100644 --- a/sdext/source/presenter/PresenterController.cxx +++ b/sdext/source/presenter/PresenterController.cxx @@ -575,7 +575,7 @@ const Reference<drawing::XDrawPage>& PresenterController::GetCurrentSlide() cons return mxCurrentSlide; } -bool PresenterController::HasTransition (Reference<drawing::XDrawPage>& rxPage) +bool PresenterController::HasTransition (Reference<drawing::XDrawPage> const & rxPage) { bool bTransition = false; sal_uInt16 aTransitionType = 0; @@ -597,7 +597,7 @@ bool PresenterController::HasTransition (Reference<drawing::XDrawPage>& rxPage) return bTransition; } -bool PresenterController::HasCustomAnimation (Reference<drawing::XDrawPage>& rxPage) +bool PresenterController::HasCustomAnimation (Reference<drawing::XDrawPage> const & rxPage) { bool bCustomAnimation = false; if( rxPage.is() ) diff --git a/sdext/source/presenter/PresenterController.hxx b/sdext/source/presenter/PresenterController.hxx index 51d12a0a094b..a561e738061b 100644 --- a/sdext/source/presenter/PresenterController.hxx +++ b/sdext/source/presenter/PresenterController.hxx @@ -122,8 +122,8 @@ public: const css::uno::Reference<css::drawing::framework::XConfigurationController>& GetConfigurationController() const; const css::uno::Reference<css::drawing::XDrawPage>& GetCurrentSlide() const; - static bool HasTransition (css::uno::Reference<css::drawing::XDrawPage>& rxPage); - static bool HasCustomAnimation (css::uno::Reference<css::drawing::XDrawPage>& rxPage); + static bool HasTransition (css::uno::Reference<css::drawing::XDrawPage> const & rxPage); + static bool HasCustomAnimation (css::uno::Reference<css::drawing::XDrawPage> const & rxPage); void SetAccessibilityActiveState (const bool bIsActive); bool IsAccessibilityActive() const { return mbIsAccessibilityActive;} diff --git a/sdext/source/presenter/PresenterTheme.cxx b/sdext/source/presenter/PresenterTheme.cxx index 9fdd24a0bb18..7dbd8e9e38a0 100644 --- a/sdext/source/presenter/PresenterTheme.cxx +++ b/sdext/source/presenter/PresenterTheme.cxx @@ -154,7 +154,7 @@ public: private: void ProcessPaneStyle ( - ReadContext& rReadContext, + ReadContext const & rReadContext, const ::std::vector<css::uno::Any>& rValues); }; @@ -191,7 +191,7 @@ public: private: void ProcessViewStyle( - ReadContext& rReadContext, + ReadContext const & rReadContext, const Reference<beans::XPropertySet>& rxProperties); }; @@ -847,7 +847,7 @@ void PaneStyleContainer::Read ( } void PaneStyleContainer::ProcessPaneStyle( - ReadContext& rReadContext, + ReadContext const & rReadContext, const ::std::vector<Any>& rValues) { if (rValues.size() != 6) @@ -953,8 +953,6 @@ void ViewStyleContainer::Read ( ReadContext& rReadContext, const Reference<container::XHierarchicalNameAccess>& rxThemeRoot) { - (void)rReadContext; - Reference<container::XNameAccess> xViewStyleList ( PresenterConfigurationAccess::GetConfigurationNode( rxThemeRoot, @@ -972,7 +970,7 @@ void ViewStyleContainer::Read ( } void ViewStyleContainer::ProcessViewStyle( - ReadContext& rReadContext, + ReadContext const & rReadContext, const Reference<beans::XPropertySet>& rxProperties) { std::shared_ptr<ViewStyle> pStyle (new ViewStyle()); diff --git a/sdext/source/presenter/PresenterToolBar.cxx b/sdext/source/presenter/PresenterToolBar.cxx index 871c0c36e17e..e01fdf096887 100644 --- a/sdext/source/presenter/PresenterToolBar.cxx +++ b/sdext/source/presenter/PresenterToolBar.cxx @@ -101,8 +101,8 @@ namespace { void ReadElementMode ( const Reference<beans::XPropertySet>& rxProperties, const OUString& rsModeName, - std::shared_ptr<ElementMode>& rpDefaultMode, - ::sdext::presenter::PresenterToolBar::Context& rContext); + std::shared_ptr<ElementMode> const & rpDefaultMode, + ::sdext::presenter::PresenterToolBar::Context const & rContext); }; typedef std::shared_ptr<ElementMode> SharedElementMode; @@ -629,7 +629,7 @@ void PresenterToolBar::CreateControls ( void PresenterToolBar::ProcessEntry ( const Reference<beans::XPropertySet>& rxProperties, - Context& rContext) + Context const & rContext) { if ( ! rxProperties.is()) return; @@ -1361,8 +1361,8 @@ ElementMode::ElementMode() void ElementMode::ReadElementMode ( const Reference<beans::XPropertySet>& rxElementProperties, const OUString& rsModeName, - std::shared_ptr<ElementMode>& rpDefaultMode, - ::sdext::presenter::PresenterToolBar::Context& rContext) + std::shared_ptr<ElementMode> const & rpDefaultMode, + ::sdext::presenter::PresenterToolBar::Context const & rContext) { try { diff --git a/sdext/source/presenter/PresenterToolBar.hxx b/sdext/source/presenter/PresenterToolBar.hxx index 05eabc3816fa..bf6dcd519053 100644 --- a/sdext/source/presenter/PresenterToolBar.hxx +++ b/sdext/source/presenter/PresenterToolBar.hxx @@ -190,7 +190,7 @@ private: void ProcessEntry ( const css::uno::Reference<css::beans::XPropertySet>& rProperties, - Context& rContext); + Context const & rContext); /** @throws css::lang::DisposedException when the object has already been disposed. |