summaryrefslogtreecommitdiff
path: root/i18npool/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-11-23 16:02:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-11-23 20:49:03 +0100
commit9c2e77152c3b824153ef5451ababe58dc5ce981c (patch)
tree7aaeaa6398fceea14ee508c9b3b5c082f2536920 /i18npool/inc
parentbf059cd63fe01094b3eb469b2f4529820d692f32 (diff)
loplugin:unusedfields make some fields private
this is one of the secondary analyses this plugin performs Change-Id: Iaa4424c2396470c6f1df85b0290fbffdda35fa08 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143177 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18npool/inc')
-rw-r--r--i18npool/inc/indexentrysupplier_default.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/i18npool/inc/indexentrysupplier_default.hxx b/i18npool/inc/indexentrysupplier_default.hxx
index caf71326d632..e9c43583b634 100644
--- a/i18npool/inc/indexentrysupplier_default.hxx
+++ b/i18npool/inc/indexentrysupplier_default.hxx
@@ -88,7 +88,9 @@ public:
void makeIndexKeys(const css::lang::Locale &rLocale, std::u16string_view algorithm);
sal_Int16 getIndexWeight(const OUString& rIndexEntry);
OUString getIndexDescription(const OUString& rIndexEntry);
+ sal_Int16 compare(sal_Unicode c1, sal_Unicode c2);
+private:
IndexTable tables[MAX_TABLES];
sal_Int16 table_count;
IndexKey keys[MAX_KEYS];
@@ -97,7 +99,6 @@ public:
sal_Int16 mkey_count;
OUString skipping_chars;
rtl::Reference<CollatorImpl> collator;
- sal_Int16 compare(sal_Unicode c1, sal_Unicode c2);
};
}