diff options
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpparastyle.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwptabrack.hxx | 21 |
2 files changed, 9 insertions, 14 deletions
diff --git a/lotuswordpro/source/filter/lwpparastyle.cxx b/lotuswordpro/source/filter/lwpparastyle.cxx index e52909e3b361..3ae8b69e578f 100644 --- a/lotuswordpro/source/filter/lwpparastyle.cxx +++ b/lotuswordpro/source/filter/lwpparastyle.cxx @@ -621,7 +621,7 @@ void LwpParaStyle::ApplyTab(XFParaStyle *pParaStyle, LwpTabOverride *pTabOverRid //get leader type sal_Unicode cLeader = 0x00; - LwpTab::LeaderType leader= pTab->GetLeaderType(); + auto leader= pTab->GetLeaderType(); switch(leader) { case LwpTab::TL_NONE: diff --git a/lotuswordpro/source/filter/lwptabrack.hxx b/lotuswordpro/source/filter/lwptabrack.hxx index 1f038e61ffd7..7157e08abbd1 100644 --- a/lotuswordpro/source/filter/lwptabrack.hxx +++ b/lotuswordpro/source/filter/lwptabrack.hxx @@ -100,9 +100,14 @@ public: { return m_nType; } - inline LeaderType GetLeaderType() const; - inline sal_uInt16 GetAlignChar() const; - + sal_uInt8 GetLeaderType() const + { + return m_nLeader; + } + sal_uInt16 GetAlignChar() const + { + return m_nAlignChar; + } private: sal_uInt32 m_nX; sal_uInt8 m_nType; @@ -116,16 +121,6 @@ inline sal_uInt32 LwpTab::GetPosition() const return m_nX; } -inline LwpTab::LeaderType LwpTab::GetLeaderType() const -{ - return static_cast<LwpTab::LeaderType>(m_nLeader); -} - -inline sal_uInt16 LwpTab::GetAlignChar() const -{ - return m_nAlignChar; -} - class LwpTabRack : public LwpObject { public: |