diff options
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editview.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/impedit.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/impedit.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index 901e29e756c6..0434b06703b2 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -1655,7 +1655,7 @@ void EditView::SetLOKSpecialOutputArea(const tools::Rectangle& rOutputArea) pImpEditView->SetLOKSpecialOutputArea(rOutputArea); } -tools::Rectangle EditView::GetLOKSpecialOutputArea() const +const tools::Rectangle & EditView::GetLOKSpecialOutputArea() const { return pImpEditView->GetLOKSpecialOutputArea(); } diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index 4f0f4ccac865..389b9d5bca20 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -2686,7 +2686,7 @@ void ImpEditView::SetLOKSpecialOutputArea(const tools::Rectangle& rOutputArea) mpLOKSpecialPositioning->SetOutputArea(rOutputArea); } -tools::Rectangle ImpEditView::GetLOKSpecialOutputArea() const +const tools::Rectangle & ImpEditView::GetLOKSpecialOutputArea() const { assert(mpLOKSpecialPositioning); return mpLOKSpecialPositioning->GetOutputArea(); diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index e5eb5b0703c0..8f124dd4ed84 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -460,7 +460,7 @@ public: void InitLOKSpecialPositioning(MapUnit eUnit, const tools::Rectangle& rOutputArea, const Point& rVisDocStartPos); void SetLOKSpecialOutputArea(const tools::Rectangle& rOutputArea); - tools::Rectangle GetLOKSpecialOutputArea() const; + const tools::Rectangle & GetLOKSpecialOutputArea() const; void SetLOKSpecialVisArea(const tools::Rectangle& rVisArea); tools::Rectangle GetLOKSpecialVisArea() const; bool HasLOKSpecialPositioning() const; |