summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-05 14:20:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-05 18:50:51 +0200
commite859bf8c4da78698b820d13af1a2fdee3602f5b4 (patch)
treeb2ead4e992f283c2e1dfcdabfa99f013f1506918 /sw/source
parentae1d21ae69b0522cbbe67abeb2f5c5ba7ca2c33b (diff)
loplugin:constmethod
Change-Id: I7913fd8144d521b8293ac43036d0fad82e457cd1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115145 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/uibase/config/viewopt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/config/viewopt.cxx b/sw/source/uibase/config/viewopt.cxx
index 304d5393ac0f..77e65e1f6604 100644
--- a/sw/source/uibase/config/viewopt.cxx
+++ b/sw/source/uibase/config/viewopt.cxx
@@ -374,7 +374,7 @@ sal_uInt16 GetHtmlMode(const SwDocShell* pShell)
return nRet;
}
-RndStdIds SwViewOption::GetDefaultAnchorType()
+RndStdIds SwViewOption::GetDefaultAnchorType() const
{
switch ( m_nDefaultAnchor )
{