summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterController.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 15:37:46 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:40 +0200
commitcc2f103744fc5e36a2e583442e41bc6b9d0d0b90 (patch)
tree447b110388cc02aa2b112375d92a92822a3b805a /sdext/source/presenter/PresenterController.hxx
parentbaf34a9e44fbd39c3657cabd22d871bc804ab12d (diff)
loplugin:passstuffbyref in sdext
Change-Id: I954510b953dab133bcf7b37cf598757b7d8e5fca
Diffstat (limited to 'sdext/source/presenter/PresenterController.hxx')
-rw-r--r--sdext/source/presenter/PresenterController.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sdext/source/presenter/PresenterController.hxx b/sdext/source/presenter/PresenterController.hxx
index 0b910f497c25..0bb013fa92ce 100644
--- a/sdext/source/presenter/PresenterController.hxx
+++ b/sdext/source/presenter/PresenterController.hxx
@@ -105,15 +105,15 @@ public:
GetViewBackground (const OUString& rsViewURL) const;
PresenterTheme::SharedFontDescriptor
GetViewFont (const OUString& rsViewURL) const;
- std::shared_ptr<PresenterTheme> GetTheme() const;
- ::rtl::Reference<PresenterWindowManager> GetWindowManager() const;
- css::uno::Reference<css::presentation::XSlideShowController>
+ const std::shared_ptr<PresenterTheme>& GetTheme() const;
+ const ::rtl::Reference<PresenterWindowManager>& GetWindowManager() const;
+ const css::uno::Reference<css::presentation::XSlideShowController>&
GetSlideShowController() const;
- rtl::Reference<PresenterPaneContainer> GetPaneContainer() const;
- ::rtl::Reference<PresenterPaneBorderPainter> GetPaneBorderPainter() const;
- std::shared_ptr<PresenterCanvasHelper> GetCanvasHelper() const;
- css::uno::Reference<css::drawing::XPresenterHelper> GetPresenterHelper() const;
- std::shared_ptr<PresenterPaintManager> GetPaintManager() const;
+ const rtl::Reference<PresenterPaneContainer>& GetPaneContainer() const;
+ const ::rtl::Reference<PresenterPaneBorderPainter>& GetPaneBorderPainter() const;
+ const std::shared_ptr<PresenterCanvasHelper>& GetCanvasHelper() const;
+ const css::uno::Reference<css::drawing::XPresenterHelper>& GetPresenterHelper() const;
+ const std::shared_ptr<PresenterPaintManager>& GetPaintManager() const;
double GetSlideAspectRatio() const;
void ShowView (const OUString& rsViewURL);
void HideView (const OUString& rsViewURL);
@@ -122,9 +122,9 @@ public:
css::uno::Reference<css::frame::XDispatch> GetDispatch (
const css::util::URL& rURL) const;
css::util::URL CreateURLFromString (const OUString& rsURL) const;
- css::uno::Reference<css::drawing::framework::XConfigurationController>
+ const css::uno::Reference<css::drawing::framework::XConfigurationController>&
GetConfigurationController() const;
- css::uno::Reference<css::drawing::XDrawPage> GetCurrentSlide() 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);
void SetAccessibilityActiveState (const bool bIsActive);