diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-25 13:31:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-26 03:04:45 +0200 |
commit | 4e67474a6e4dbfeff5316dcf08b44cfead148609 (patch) | |
tree | 630190f52de6572a46bb13b9ae6ae5b5709e64a7 /lotuswordpro/source/filter/lwpfootnote.hxx | |
parent | 3b13f813da6ad3bd3e4f9dc24b7deb84ea557063 (diff) |
loplugin:constmethod in framework..lotuswordpro
Change-Id: I14a3855a75cf081d86c2a404966db38c617c0256
Reviewed-on: https://gerrit.libreoffice.org/79541
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/source/filter/lwpfootnote.hxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpfootnote.hxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/lotuswordpro/source/filter/lwpfootnote.hxx b/lotuswordpro/source/filter/lwpfootnote.hxx index b2073e0c0b11..5163204e39ea 100644 --- a/lotuswordpro/source/filter/lwpfootnote.hxx +++ b/lotuswordpro/source/filter/lwpfootnote.hxx @@ -134,14 +134,14 @@ private: sal_uInt16 m_nRow; LwpObjectID m_Content; public: - sal_uInt16 GetType(){ return m_nType;} + sal_uInt16 GetType() const { return m_nType;} private: LwpCellLayout* GetCellLayout(); LwpDocument* GetFootnoteTableDivision(); LwpDocument* GetEndnoteDivision(LwpDocument* pPossible); LwpEnSuperTableLayout* FindFootnoteTableLayout(); LwpContent* FindFootnoteContent(); - OUString GetTableClass(); + OUString GetTableClass() const; }; /** @@ -184,10 +184,10 @@ public: SUPERSCRIPT_REFERENCE = 0x10 }; public: - sal_uInt16 GetStartingNumber(){ return m_nStartingNumber;} - OUString const & GetLeadingText(){ return m_LeadingText.str();} - OUString const & GetTrailingText(){ return m_TrailingText.str();} - sal_uInt16 GetReset(){ return static_cast<sal_uInt16>(m_nFlag & RESET_MASK);} + sal_uInt16 GetStartingNumber() const { return m_nStartingNumber;} + OUString const & GetLeadingText() const { return m_LeadingText.str();} + OUString const & GetTrailingText() const { return m_TrailingText.str();} + sal_uInt16 GetReset() const { return static_cast<sal_uInt16>(m_nFlag & RESET_MASK);} }; /** @@ -218,12 +218,12 @@ public: HAS_SEPARATOR = 0x01, CUSTOM_LENGTH = 0x02 }; - sal_uInt32 GetLength(){ return m_nLength;} - sal_uInt32 GetIndent(){ return m_nIndent;} - sal_uInt32 GetAbove(){ return m_nAbove;} - sal_uInt32 GetBelow(){ return m_nBelow;} - bool HasCustomLength(){ return (m_nFlag & CUSTOM_LENGTH) != 0;} - bool HasSeparator(){ return (m_nFlag & HAS_SEPARATOR) != 0;} + sal_uInt32 GetLength() const { return m_nLength;} + sal_uInt32 GetIndent() const { return m_nIndent;} + sal_uInt32 GetAbove() const { return m_nAbove;} + sal_uInt32 GetBelow() const { return m_nBelow;} + bool HasCustomLength() const { return (m_nFlag & CUSTOM_LENGTH) != 0;} + bool HasSeparator() const { return (m_nFlag & HAS_SEPARATOR) != 0;} float GetTopBorderWidth(){ return m_BorderStuff.GetSideWidth(LwpBorderStuff::TOP);} LwpColor GetTopBorderColor(){ return m_BorderStuff.GetSideColor(LwpBorderStuff::TOP);} }; @@ -267,10 +267,10 @@ private: public: LwpFootnoteSeparatorOptions& GetFootnoteSeparator(){ return m_FootnoteSeparator;} - bool GetContinuedFrom(){ return ((m_nFlag & FO_CONTINUEFROM) != 0);} - bool GetContinuedOn(){ return ((m_nFlag & FO_CONTINUEON) != 0);} - OUString GetContinuedOnMessage(); - OUString GetContinuedFromMessage(); + bool GetContinuedFrom() const { return ((m_nFlag & FO_CONTINUEFROM) != 0);} + bool GetContinuedOn() const { return ((m_nFlag & FO_CONTINUEON) != 0);} + OUString GetContinuedOnMessage() const; + OUString GetContinuedFromMessage() const; void SetMasterPage(const OUString& strMasterPage){ m_strMasterPage = strMasterPage;} }; |