diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-19 13:10:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-20 07:40:41 +0100 |
commit | 73139fe600fc1399ae828077981a2498cb0a0b0c (patch) | |
tree | 30ec7a9a978f262439100e27234d42667d6aacb3 /editeng | |
parent | d728d5d192e6f100d64ffa2e267055a451e9e403 (diff) |
loplugin:unusedmethods
Change-Id: If00b0e659e1818c29ae39b89f8b4f7ea29d14986
Reviewed-on: https://gerrit.libreoffice.org/48185
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/items/textitem.cxx | 53 | ||||
-rw-r--r-- | editeng/source/rtf/rtfitem.cxx | 2 |
2 files changed, 0 insertions, 55 deletions
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index 7d8120b3f02d..dec57ba55578 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -74,14 +74,12 @@ #include <editeng/autokernitem.hxx> #include <editeng/wrlmitem.hxx> #include <editeng/contouritem.hxx> -#include <editeng/prszitem.hxx> #include <editeng/colritem.hxx> #include <editeng/charsetcoloritem.hxx> #include <editeng/kernitem.hxx> #include <editeng/cmapitem.hxx> #include <editeng/escapementitem.hxx> #include <editeng/langitem.hxx> -#include <editeng/nlbkitem.hxx> #include <editeng/nhypitem.hxx> #include <editeng/blinkitem.hxx> #include <editeng/emphasismarkitem.hxx> @@ -1597,32 +1595,6 @@ bool SvxContourItem::GetPresentation return true; } -// class SvxPropSizeItem ------------------------------------------------- - -SvxPropSizeItem::SvxPropSizeItem( const sal_uInt16 nPercent, const sal_uInt16 nId ) : - SfxUInt16Item( nId, nPercent ) -{ -} - - -SfxPoolItem* SvxPropSizeItem::Clone( SfxItemPool * ) const -{ - return new SvxPropSizeItem( *this ); -} - - -bool SvxPropSizeItem::GetPresentation -( - SfxItemPresentation /*ePres*/, - MapUnit /*eCoreUnit*/, - MapUnit /*ePresUnit*/, - OUString& rText, const IntlWrapper& /*rIntl*/ -) const -{ - rText.clear(); - return false; -} - // class SvxBackgroundColorItem ----------------------------------------- SvxBackgroundColorItem::SvxBackgroundColorItem( const sal_uInt16 nId ) : @@ -2228,31 +2200,6 @@ bool SvxLanguageItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId ) return true; } -// class SvxNoLinebreakItem ---------------------------------------------- -SvxNoLinebreakItem::SvxNoLinebreakItem( const bool bBreak, const sal_uInt16 nId ) : - SfxBoolItem( nId, bBreak ) -{ -} - - -SfxPoolItem* SvxNoLinebreakItem::Clone( SfxItemPool* ) const -{ - return new SvxNoLinebreakItem( *this ); -} - - -bool SvxNoLinebreakItem::GetPresentation -( - SfxItemPresentation /*ePres*/, - MapUnit /*eCoreUnit*/, - MapUnit /*ePresUnit*/, - OUString& rText, const IntlWrapper& /*rIntl*/ -) const -{ - rText.clear(); - return false; -} - // class SvxNoHyphenItem ------------------------------------------------- SvxNoHyphenItem::SvxNoHyphenItem( const bool bHyphen, const sal_uInt16 nId ) : diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx index a9cde574ab83..7d6cbc6fa8f9 100644 --- a/editeng/source/rtf/rtfitem.cxx +++ b/editeng/source/rtf/rtfitem.cxx @@ -29,14 +29,12 @@ #include <editeng/autokernitem.hxx> #include <editeng/wrlmitem.hxx> #include <editeng/contouritem.hxx> -#include <editeng/prszitem.hxx> #include <editeng/colritem.hxx> #include <editeng/charsetcoloritem.hxx> #include <editeng/kernitem.hxx> #include <editeng/cmapitem.hxx> #include <editeng/escapementitem.hxx> #include <editeng/langitem.hxx> -#include <editeng/nlbkitem.hxx> #include <editeng/nhypitem.hxx> #include <editeng/blinkitem.hxx> #include <editeng/emphasismarkitem.hxx> |