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/txatbase.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/txatbase.hxx')
-rw-r--r-- | sw/inc/txatbase.hxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sw/inc/txatbase.hxx b/sw/inc/txatbase.hxx index 390ad58b7260..eeb2edb65ec4 100644 --- a/sw/inc/txatbase.hxx +++ b/sw/inc/txatbase.hxx @@ -117,7 +117,6 @@ public: inline const SwFormatRefMark &GetRefMark() const; inline const SwFormatINetFormat &GetINetFormat() const; inline const SwFormatRuby &GetRuby() const; - inline const SwFormatMeta &GetMeta() const; void dumpAsXml(struct _xmlTextWriter* pWriter) const; }; @@ -230,13 +229,6 @@ inline const SwFormatRuby& SwTextAttr::GetRuby() const return static_cast<const SwFormatRuby&>(*m_pAttr); } -inline const SwFormatMeta& SwTextAttr::GetMeta() const -{ - assert( m_pAttr && (m_pAttr->Which() == RES_TXTATR_META || - m_pAttr->Which() == RES_TXTATR_METAFIELD) ); - return static_cast<const SwFormatMeta&>(*m_pAttr); -} - // these should be static_casts but with virtual inheritance it's not possible template<typename T, typename S> inline T static_txtattr_cast(S * s) { |