summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-01 20:47:09 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-05-02 21:10:35 +0200
commitf4c8a7d47398f353f26828d049aec29e5738750d (patch)
treea30da33d70b92131b23213737be4a1acbb082766 /include/editeng
parent85af593eac9d40cc715f87a94d390e9e8f48b880 (diff)
finally 'Change return value to Rectangle in next incompatible build'
Change-Id: I8d301857a2529125c6dab43e3969aa61909537b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114977 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/editview.hxx2
-rw-r--r--include/editeng/outliner.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx
index 41cf529a81a2..cbc65bf93e1c 100644
--- a/include/editeng/editview.hxx
+++ b/include/editeng/editview.hxx
@@ -218,7 +218,7 @@ public:
// Document position.
// A size change also affects the VisArea
void SetVisArea( const tools::Rectangle& rRect );
- const tools::Rectangle& GetVisArea() const;
+ tools::Rectangle GetVisArea() const;
PointerStyle GetPointer() const;
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index 86cca91d9db9..411ab2d891cb 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -231,7 +231,7 @@ public:
void SetOutputArea( const tools::Rectangle& rRect );
tools::Rectangle const & GetOutputArea() const;
- tools::Rectangle const & GetVisArea() const;
+ tools::Rectangle GetVisArea() const;
void CreateSelectionList (std::vector<Paragraph*> &aSelList) ;