From 664db0d945fbb23e115eeea8377e3a4e88541da1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 9 Oct 2018 11:12:52 +0200 Subject: loplugin:unusedmethods Change-Id: Icd7a0f9909f36363b307b4fe7ee920183881afbb Reviewed-on: https://gerrit.libreoffice.org/61576 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/items/numfmtsh.cxx | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'svx') diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx index bcfe11c2fa35..b8c6ac4be8a9 100644 --- a/svx/source/items/numfmtsh.cxx +++ b/svx/source/items/numfmtsh.cxx @@ -1354,31 +1354,6 @@ short SvxNumberFormatShell::GetListPos4Entry(sal_uInt32 nIdx) return nSelP; } -short SvxNumberFormatShell::GetListPos4Entry(const OUString& rFmtString) -{ - sal_uInt32 nAt = 0; - short nSelP = SELPOS_NONE; - if (FindEntry(rFmtString, &nAt)) - { - if (NUMBERFORMAT_ENTRY_NOT_FOUND != nAt && NUMBERFORMAT_ENTRY_NEW_CURRENCY != nAt) - { - nSelP = GetListPos4Entry(nAt); - } - else - { - for (size_t i = 0; i < aCurrencyFormatList.size(); i++) - { - if (rFmtString == aCurrencyFormatList[i]) - { - nSelP = static_cast(i); - break; - } - } - } - } - return nSelP; -} - OUString SvxNumberFormatShell::GetStandardName() const { return pFormatter->GetStandardName(eCurLanguage); -- cgit