diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-21 16:47:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-22 07:40:33 +0100 |
commit | c50357ff625972464d1a591afe4198d3f6f42a39 (patch) | |
tree | 6d10334c4af64b7c138f7c780e690659e66fd3f8 /sw/inc/tox.hxx | |
parent | 131cc96a890b8988703532d09773bb0bde20ee8a (diff) |
loplugin:unusedfields in sw
Change-Id: Id68a01042f8398d7d4803a9ce7eb03620732f1ce
Reviewed-on: https://gerrit.libreoffice.org/68163
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/tox.hxx')
-rw-r--r-- | sw/inc/tox.hxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx index ae5a75df26d6..75bf9d6e189c 100644 --- a/sw/inc/tox.hxx +++ b/sw/inc/tox.hxx @@ -61,7 +61,6 @@ class SW_DLLPUBLIC SwTOXMark OUString m_aAltText; // Text of caption is different. OUString m_aPrimaryKey; OUString m_aSecondaryKey; - OUString m_aCitationKeyReading; // three more strings for phonetic sorting OUString m_aTextReading; @@ -120,7 +119,6 @@ public: inline void SetTextReading(const OUString& rStr); inline void SetPrimaryKeyReading(const OUString& rStr ); inline void SetSecondaryKeyReading(const OUString& rStr); - inline void SetCitationKeyReading(const OUString& rStr); inline OUString const & GetPrimaryKey() const; inline OUString const & GetSecondaryKey() const; @@ -591,12 +589,6 @@ inline void SwTOXMark::SetPrimaryKeyReading( const OUString& rKey ) m_aPrimaryKeyReading = rKey; } -inline void SwTOXMark::SetCitationKeyReading( const OUString& rKey ) -{ - SAL_WARN_IF(GetTOXType()->GetType() != TOX_CITATION, "sw", "Wrong type"); - m_aCitationKeyReading = rKey; -} - inline void SwTOXMark::SetSecondaryKeyReading( const OUString& rKey ) { SAL_WARN_IF(GetTOXType()->GetType() != TOX_INDEX, "sw", "Wrong type"); |