summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterTextView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterTextView.cxx')
-rw-r--r--sdext/source/presenter/PresenterTextView.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterTextView.cxx b/sdext/source/presenter/PresenterTextView.cxx
index 5a8a8aaa0768..dd3132d2fb6e 100644
--- a/sdext/source/presenter/PresenterTextView.cxx
+++ b/sdext/source/presenter/PresenterTextView.cxx
@@ -394,7 +394,7 @@ void PresenterTextView::Paint (
}
}
-SharedPresenterTextCaret PresenterTextView::GetCaret() const
+const SharedPresenterTextCaret& PresenterTextView::GetCaret() const
{
return mpCaret;
}
@@ -792,7 +792,7 @@ sal_Unicode PresenterTextParagraph::GetCharacter (
}
}
-OUString PresenterTextParagraph::GetText() const
+const OUString& PresenterTextParagraph::GetText() const
{
return msParagraphText;
}
@@ -1166,7 +1166,7 @@ void PresenterTextCaret::SetCaretMotionBroadcaster (
maBroadcaster = rBroadcaster;
}
-css::awt::Rectangle PresenterTextCaret::GetBounds() const
+const css::awt::Rectangle& PresenterTextCaret::GetBounds() const
{
return maCaretBounds;
}