From 407731c9f403c35357a0d1428c9b99835f79a5f7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 21 Jul 2015 10:44:17 +0200 Subject: loplugin:unusedmethods sw Change-Id: Ied51535fa169451fc4991237122817a34a59f6fe Reviewed-on: https://gerrit.libreoffice.org/17256 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/inc/tox.hxx | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'sw/inc/tox.hxx') diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx index 1b75da2d9472..22ad81efc6a5 100644 --- a/sw/inc/tox.hxx +++ b/sw/inc/tox.hxx @@ -127,7 +127,6 @@ public: inline OUString GetTextReading() const; inline OUString GetPrimaryKeyReading() const; inline OUString GetSecondaryKeyReading() const; - inline OUString GetCitationKeyReading() const; bool IsAutoGenerated() const {return bAutoGenerated;} void SetAutoGenerated(bool bSet) {bAutoGenerated = bSet;} @@ -485,9 +484,6 @@ public: // index of objects - // user defined index only - inline void SetTemplateName(const OUString& rName); // Absatzlayout beachten - OUString GetStyleNames(sal_uInt16 nLevel) const { SAL_WARN_IF( nLevel >= MAXLEVEL, "sw", "Which level?"); @@ -645,12 +641,6 @@ inline OUString SwTOXMark::GetSecondaryKeyReading() const return aSecondaryKeyReading; } -inline OUString SwTOXMark::GetCitationKeyReading() const -{ - SAL_WARN_IF(GetTOXType()->GetType() != TOX_CITATION, "sw", "Wrong type"); - return aCitationKeyReading; -} - //SwForm inline void SwForm::SetTemplate(sal_uInt16 nLevel, const OUString& rTemplate) @@ -727,12 +717,6 @@ inline sal_uInt16 SwTOXBase::GetLevel() const return aData.nLevel; } -inline void SwTOXBase::SetTemplateName(const OUString& rName) -{ - SAL_WARN("sw", "SwTOXBase::SetTemplateName obsolete"); - aStyleNames[0] = rName; -} - inline sal_uInt16 SwTOXBase::GetOptions() const { SAL_WARN_IF(GetTOXType()->GetType() != TOX_INDEX, "sw", "Wrong type"); -- cgit