From 6c6c1eea82b259c7aec1e0ed5ff86bfd2eb0243f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 28 Sep 2019 10:01:37 +0200 Subject: loplugin:constmethod in sw Change-Id: I73c3c6d2165287d2d581a04b23b1d3b48166a488 Reviewed-on: https://gerrit.libreoffice.org/79780 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/core/frmedt/fews.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/core/frmedt/fews.cxx') diff --git a/sw/source/core/frmedt/fews.cxx b/sw/source/core/frmedt/fews.cxx index d6108875560c..6134d0f73f45 100644 --- a/sw/source/core/frmedt/fews.cxx +++ b/sw/source/core/frmedt/fews.cxx @@ -333,7 +333,7 @@ void SwFEShell::ShellLoseFocus() } } -sal_uInt16 SwFEShell::GetPhyPageNum() +sal_uInt16 SwFEShell::GetPhyPageNum() const { SwFrame *pFrame = GetCurrFrame(); if ( pFrame ) @@ -341,7 +341,7 @@ sal_uInt16 SwFEShell::GetPhyPageNum() return 0; } -sal_uInt16 SwFEShell::GetVirtPageNum() +sal_uInt16 SwFEShell::GetVirtPageNum() const { SwFrame *pFrame = GetCurrFrame(); if ( pFrame ) -- cgit