summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-09 11:12:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-09 14:16:36 +0200
commit664db0d945fbb23e115eeea8377e3a4e88541da1 (patch)
tree7105b54a8a7b5d2eca45fee1b3ff7f326e99e81a /svx/source
parentc11ee0f7b0e4e7bf4d1e2e5bb4309f24b917ce79 (diff)
loplugin:unusedmethods
Change-Id: Icd7a0f9909f36363b307b4fe7ee920183881afbb Reviewed-on: https://gerrit.libreoffice.org/61576 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/items/numfmtsh.cxx25
1 files changed, 0 insertions, 25 deletions
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<short>(i);
- break;
- }
- }
- }
- }
- return nSelP;
-}
-
OUString SvxNumberFormatShell::GetStandardName() const
{
return pFormatter->GetStandardName(eCurLanguage);