From c50357ff625972464d1a591afe4198d3f6f42a39 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 21 Feb 2019 16:47:24 +0200 Subject: loplugin:unusedfields in sw Change-Id: Id68a01042f8398d7d4803a9ce7eb03620732f1ce Reviewed-on: https://gerrit.libreoffice.org/68163 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/inc/tox.hxx | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sw/inc/tox.hxx') 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"); -- cgit