summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unotext.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-01 09:08:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-03 11:56:43 +0200
commit4969f4c0d3e2581aaa8a5b5a5769840fa6b6f8ea (patch)
treeeb42ab5be5d8c5ca3d23b686a8781c28822381b4 /sw/source/core/unocore/unotext.cxx
parentd5cc52fec12e3c8d1c3561f172d3e1c5434290b3 (diff)
loplugin:constfields in sw
Change-Id: I1eb6583bb9ec815bc0564b0d7c676f5b1fb9045f Reviewed-on: https://gerrit.libreoffice.org/61177 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/unocore/unotext.cxx')
-rw-r--r--sw/source/core/unocore/unotext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx
index bedc64cbf56d..dbf00411ece5 100644
--- a/sw/source/core/unocore/unotext.cxx
+++ b/sw/source/core/unocore/unotext.cxx
@@ -1772,7 +1772,7 @@ SwXText::convertToTextFrame(
struct VerticallyMergedCell
{
std::vector<uno::Reference< beans::XPropertySet > > aCells;
- sal_Int32 nLeftPosition;
+ sal_Int32 const nLeftPosition;
bool bOpen;
VerticallyMergedCell(uno::Reference< beans::XPropertySet > const& rxCell,
@@ -2440,7 +2440,7 @@ class SwXHeadFootText::Impl
{
public:
SwFrameFormat* m_pHeadFootFormat;
- bool m_bIsHeader;
+ bool const m_bIsHeader;
Impl(SwFrameFormat& rHeadFootFormat, const bool bIsHeader)
: m_pHeadFootFormat(&rHeadFootFormat)