diff options
Diffstat (limited to 'sw/source/core/txtnode')
-rw-r--r-- | sw/source/core/txtnode/fntcache.cxx | 6 | ||||
-rw-r--r-- | sw/source/core/txtnode/modeltoviewhelper.cxx | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx index bf98f097ec47..dd377d0c1090 100644 --- a/sw/source/core/txtnode/fntcache.cxx +++ b/sw/source/core/txtnode/fntcache.cxx @@ -243,11 +243,11 @@ struct CalcLinePosData { SwDrawTextInfo& rInf; vcl::Font& rFont; - TextFrameIndex nCnt; + TextFrameIndex const nCnt; const bool bSwitchH2V; const bool bSwitchL2R; - long nHalfSpace; - long* pKernArray; + long const nHalfSpace; + long* const pKernArray; const bool bBidiPor; CalcLinePosData( SwDrawTextInfo& _rInf, vcl::Font& _rFont, diff --git a/sw/source/core/txtnode/modeltoviewhelper.cxx b/sw/source/core/txtnode/modeltoviewhelper.cxx index e6f5b1885f56..8c2b2c078996 100644 --- a/sw/source/core/txtnode/modeltoviewhelper.cxx +++ b/sw/source/core/txtnode/modeltoviewhelper.cxx @@ -36,7 +36,7 @@ struct FieldResult { - sal_Int32 m_nFieldPos; + sal_Int32 const m_nFieldPos; OUString m_sExpand; enum { NONE, FIELD, FOOTNOTE } m_eType; explicit FieldResult(sal_Int32 const nPos) @@ -57,9 +57,9 @@ typedef std::set<FieldResult, sortfieldresults> FieldResultSet; struct block { - sal_Int32 m_nStart; - sal_Int32 m_nLen; - bool m_bVisible; + sal_Int32 const m_nStart; + sal_Int32 const m_nLen; + bool const m_bVisible; FieldResultSet m_aAttrs; block(sal_Int32 nStart, sal_Int32 nLen, bool bVisible) : m_nStart(nStart), m_nLen(nLen), m_bVisible(bVisible) |