diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-24 20:33:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-24 22:12:02 +0200 |
commit | 592c31a8fa8729259cf42440a0a26c0322bbbba5 (patch) | |
tree | 5448499c937ca9a5fba1ecb8c6a278180359853d /sw/source/core/view | |
parent | ef2e9c91d0a0483c19d0175c1b0ccb24d3f6bfbc (diff) |
loplugin:returnconstval in sw
Change-Id: I15d8553bff7528f690ff92bee75d6a67037c0adf
Reviewed-on: https://gerrit.libreoffice.org/78062
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/view')
-rw-r--r-- | sw/source/core/view/viewsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index d886c0642e0e..e20d7de4a4a1 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -2501,7 +2501,7 @@ sal_uInt16 SwViewShell::GetPageCount() const return GetLayout() ? GetLayout()->GetPageNum() : 1; } -const Size SwViewShell::GetPageSize( sal_uInt16 nPageNum, bool bSkipEmptyPages ) const +Size SwViewShell::GetPageSize( sal_uInt16 nPageNum, bool bSkipEmptyPages ) const { Size aSize; const SwRootFrame* pTmpRoot = GetLayout(); |