diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-21 10:44:17 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-21 13:30:13 +0000 |
commit | 407731c9f403c35357a0d1428c9b99835f79a5f7 (patch) | |
tree | c3550703ea961e727e9fa155aa8efaa96ae84dd0 /sw/inc/tox.hxx | |
parent | 2b75376a149803865c7cc0dbc72a870c1d86f428 (diff) |
loplugin:unusedmethods sw
Change-Id: Ied51535fa169451fc4991237122817a34a59f6fe
Reviewed-on: https://gerrit.libreoffice.org/17256
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/inc/tox.hxx')
-rw-r--r-- | sw/inc/tox.hxx | 16 |
1 files changed, 0 insertions, 16 deletions
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"); |