summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/content.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-03-13 15:46:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-13 15:41:42 +0100
commit17e712ccc8fa93d57672916e3c8adaa8febc9f8c (patch)
treed62b91c405110bed4b90e93f8cf8237697dceec8 /sw/source/uibase/inc/content.hxx
parent37dc48300cc39e98c398737453e72836618ca2ac (diff)
Revert "loplugin:constfields in sw"
This reverts commit 4969f4c0d3e2581aaa8a5b5a5769840fa6b6f8ea. Change-Id: I527e9366b05e8a20633720e334395b285991c524 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90473 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/inc/content.hxx')
-rw-r--r--sw/source/uibase/inc/content.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/uibase/inc/content.hxx b/sw/source/uibase/inc/content.hxx
index c0d4e221b3cc..414db7068dcb 100644
--- a/sw/source/uibase/inc/content.hxx
+++ b/sw/source/uibase/inc/content.hxx
@@ -35,9 +35,9 @@ class SwRangeRedline;
class SwOutlineContent : public SwContent
{
- SwOutlineNodes::size_type const nOutlinePos;
- sal_uInt8 const nOutlineLevel;
- bool const bIsMoveable;
+ SwOutlineNodes::size_type nOutlinePos;
+ sal_uInt8 nOutlineLevel;
+ bool bIsMoveable;
public:
SwOutlineContent( const SwContentType* pCnt,
const OUString& rName,
@@ -56,7 +56,7 @@ class SwOutlineContent : public SwContent
class SwRegionContent : public SwContent
{
- sal_uInt8 const nRegionLevel;
+ sal_uInt8 nRegionLevel;
public:
SwRegionContent( const SwContentType* pCnt,
@@ -70,7 +70,7 @@ class SwRegionContent : public SwContent
class SwURLFieldContent : public SwContent
{
- OUString const sURL;
+ OUString sURL;
const SwTextINetFormat* pINetAttr;
public:
@@ -105,7 +105,7 @@ public:
class SwGraphicContent : public SwContent
{
- OUString const sLink;
+ OUString sLink;
public:
SwGraphicContent(const SwContentType* pCnt, const OUString& rName, const OUString& rLink, long nYPos)
: SwContent( pCnt, rName, nYPos ), sLink( rLink )
@@ -140,11 +140,11 @@ class SwContentType : public SwTypeNumber
SwWrtShell* m_pWrtShell;
std::unique_ptr<SwContentArr>
m_pMember; // array for content
- OUString const m_sContentTypeName; // name of content type
- OUString const m_sSingleContentTypeName; // name of content type, singular
+ OUString m_sContentTypeName; // name of content type
+ OUString m_sSingleContentTypeName; // name of content type, singular
OUString m_sTypeToken; // attachment for URL
size_t m_nMemberCount; // content count
- ContentTypeId const m_nContentType; // content type's Id
+ ContentTypeId m_nContentType; // content type's Id
sal_uInt8 m_nOutlineLevel;
bool m_bDataValid : 1;
bool m_bEdit: 1; // can this type be edited?