summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/swhtml.hxx
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/filter/html/swhtml.hxx
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/filter/html/swhtml.hxx')
-rw-r--r--sw/source/filter/html/swhtml.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/filter/html/swhtml.hxx b/sw/source/filter/html/swhtml.hxx
index 667407d4a9b0..596b56261fd6 100644
--- a/sw/source/filter/html/swhtml.hxx
+++ b/sw/source/filter/html/swhtml.hxx
@@ -205,14 +205,14 @@ class HTMLAttrContext
{
HTMLAttrs m_aAttrs; // the attributes created in the context
- OUString m_aClass; // context class
+ OUString const m_aClass; // context class
std::unique_ptr<HTMLAttrContext_SaveDoc> m_pSaveDocContext;
std::unique_ptr<SfxItemSet> m_pFrameItemSet;
- HtmlTokenId m_nToken; // the token of the context
+ HtmlTokenId const m_nToken; // the token of the context
- sal_uInt16 m_nTextFormatColl; // a style created in the context or zero
+ sal_uInt16 const m_nTextFormatColl; // a style created in the context or zero
sal_uInt16 m_nLeftMargin; // a changed left border
sal_uInt16 m_nRightMargin; // a changed right border
@@ -225,7 +225,7 @@ class HTMLAttrContext
bool m_bLRSpaceChanged : 1; // left/right border, changed indent?
bool m_bULSpaceChanged : 1; // top/bottom border changed?
- bool m_bDefaultTextFormatColl : 1;// nTextFormatColl is only default
+ bool const m_bDefaultTextFormatColl : 1;// nTextFormatColl is only default
bool m_bSpansSection : 1; // the context opens a SwSection
bool m_bPopStack : 1; // delete above stack elements
bool m_bFinishPREListingXMP : 1;
@@ -338,7 +338,7 @@ class SwHTMLParser : public SfxHTMLParser, public SwClient
*/
std::unique_ptr<ImportProgress> m_xProgress;
- OUString m_aPathToFile;
+ OUString const m_aPathToFile;
OUString m_sBaseURL;
OUString m_aBasicLib;
OUString m_aBasicModule;
@@ -448,7 +448,7 @@ class SwHTMLParser : public SfxHTMLParser, public SwClient
bool m_bSelect : 1;
bool m_bInFootEndNoteAnchor : 1;
bool m_bInFootEndNoteSymbol : 1;
- bool m_bIgnoreHTMLComments : 1;
+ bool const m_bIgnoreHTMLComments : 1;
bool m_bRemoveHidden : 1; // the filter implementation might set the hidden flag
bool m_bBodySeen : 1;
@@ -937,7 +937,7 @@ struct SwPendingData
struct SwPending
{
- HtmlTokenId nToken;
+ HtmlTokenId const nToken;
std::unique_ptr<SwPendingData> pData;
SwPending( HtmlTokenId nTkn )