summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterPaneBase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterPaneBase.cxx')
-rw-r--r--sdext/source/presenter/PresenterPaneBase.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sdext/source/presenter/PresenterPaneBase.cxx b/sdext/source/presenter/PresenterPaneBase.cxx
index 7ca117265f01..d05e841d50dd 100644
--- a/sdext/source/presenter/PresenterPaneBase.cxx
+++ b/sdext/source/presenter/PresenterPaneBase.cxx
@@ -116,12 +116,12 @@ void PresenterPaneBase::SetTitle (const OUString& rsTitle)
mpPresenterController->GetPaintManager()->Invalidate(mxBorderWindow);
}
-OUString PresenterPaneBase::GetTitle() const
+const OUString& PresenterPaneBase::GetTitle() const
{
return msTitle;
}
-Reference<drawing::framework::XPaneBorderPainter>
+const Reference<drawing::framework::XPaneBorderPainter>&
PresenterPaneBase::GetPaneBorderPainter() const
{
return mxBorderPainter;
@@ -156,7 +156,7 @@ void PresenterPaneBase::SetCalloutAnchor (const css::awt::Point& rCalloutAnchor)
mpPresenterController->GetPaintManager()->Invalidate(mxBorderWindow);
}
-awt::Point PresenterPaneBase::GetCalloutAnchor() const
+const awt::Point& PresenterPaneBase::GetCalloutAnchor() const
{
return maCalloutAnchor;
}
@@ -337,7 +337,7 @@ void PresenterPaneBase::CreateWindows (
}
}
-Reference<awt::XWindow> PresenterPaneBase::GetBorderWindow() const
+const Reference<awt::XWindow>& PresenterPaneBase::GetBorderWindow() const
{
return mxBorderWindow;
}