From 60e61e4434b3c8443bfa1303122be6a9773a70f2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 20 Nov 2015 14:52:56 +0200 Subject: [PATCH] loplugin:unusedfields i18npool Change-Id: I09dad8485f7a558dd389032a6052b88a8285afea --- i18npool/inc/breakiterator_unicode.hxx | 2 -- i18npool/inc/textconversion.hxx | 1 - i18npool/source/breakiterator/breakiterator_unicode.cxx | 1 - i18npool/source/nativenumber/data/numberchar.h | 6 ------ 4 files changed, 10 deletions(-) diff --git a/i18npool/inc/breakiterator_unicode.hxx b/i18npool/inc/breakiterator_unicode.hxx index 2d41c01210f5..22bcbb751797 100644 --- a/i18npool/inc/breakiterator_unicode.hxx +++ b/i18npool/inc/breakiterator_unicode.hxx @@ -93,8 +93,6 @@ protected: } character, sentence, line, *icuBI; BI_Data words[4]; // 4 is css::i18n::WordType enumeration size - sal_Int16 aBreakType; - void SAL_CALL loadICUBreakIterator(const css::lang::Locale& rLocale, sal_Int16 rBreakType, sal_Int16 rWordType, const sal_Char* name, const OUString& rText) throw(css::uno::RuntimeException); }; diff --git a/i18npool/inc/textconversion.hxx b/i18npool/inc/textconversion.hxx index 6b8b16d41bc1..6071cdfc1a4d 100644 --- a/i18npool/inc/textconversion.hxx +++ b/i18npool/inc/textconversion.hxx @@ -152,7 +152,6 @@ private: // for SChines/TChinese word conversion typedef struct { - sal_uInt16 start; sal_Int16 count; } STC_WordIndex; diff --git a/i18npool/source/breakiterator/breakiterator_unicode.cxx b/i18npool/source/breakiterator/breakiterator_unicode.cxx index 0db928b56743..91c1d357e241 100644 --- a/i18npool/source/breakiterator/breakiterator_unicode.cxx +++ b/i18npool/source/breakiterator/breakiterator_unicode.cxx @@ -44,7 +44,6 @@ BreakIterator_Unicode::BreakIterator_Unicode() : cBreakIterator( "com.sun.star.i18n.BreakIterator_Unicode" ) // implementation name , lineRule( "line" ) , icuBI( nullptr ) - , aBreakType(0) { } diff --git a/i18npool/source/nativenumber/data/numberchar.h b/i18npool/source/nativenumber/data/numberchar.h index 5b28a6c860bb..cd22f12fd2bd 100644 --- a/i18npool/source/nativenumber/data/numberchar.h +++ b/i18npool/source/nativenumber/data/numberchar.h @@ -259,12 +259,6 @@ static const sal_Unicode MultiplierChar_7_CJK[][ExponentCount_7_CJK] = { {0x4EAC, 0x5146, 0x5104, 0x842C, 0x9621, 0x767E, 0x62FE} // Japanese Traditional }; -typedef struct { - sal_Int16 ExponentCount; - sal_Int16* MultiplierExponent; - sal_Unicode *MultiplierChar; -} Multiplier; - } } } } #endif // INCLUDED_I18NPOOL_SOURCE_NATIVENUMBER_DATA_NUMBERCHAR_H