summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterToolBar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterToolBar.cxx')
-rw-r--r--sdext/source/presenter/PresenterToolBar.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterToolBar.cxx b/sdext/source/presenter/PresenterToolBar.cxx
index 2f298b28450a..0fe71c460d1e 100644
--- a/sdext/source/presenter/PresenterToolBar.cxx
+++ b/sdext/source/presenter/PresenterToolBar.cxx
@@ -150,7 +150,7 @@ namespace {
virtual void Paint (
const Reference<rendering::XCanvas>& rxCanvas,
const rendering::ViewState& rViewState) = 0;
- awt::Size GetBoundingSize (
+ awt::Size const & GetBoundingSize (
const Reference<rendering::XCanvas>& rxCanvas);
awt::Rectangle GetBoundingBox() const;
virtual bool SetState (const bool bIsOver, const bool bIsPressed);
@@ -474,7 +474,7 @@ void PresenterToolBar::RequestLayout()
xManager->Invalidate(mxWindow);
}
-geometry::RealSize2D PresenterToolBar::GetMinimalSize()
+geometry::RealSize2D const & PresenterToolBar::GetMinimalSize()
{
if (mbIsLayoutPending)
Layout(mxCanvas);
@@ -1244,7 +1244,7 @@ void Element::disposing()
{
}
-awt::Size Element::GetBoundingSize (
+awt::Size const & Element::GetBoundingSize (
const Reference<rendering::XCanvas>& rxCanvas)
{
maSize = CreateBoundingSize(rxCanvas);