scaddins/source/pricing/pricing.cxx | 4 ++-- scaddins/source/pricing/pricing.hxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
New commits: commit 8690d8878248320b0b706e9d6f7b8fa89ed903c4 Author: Eike Rathke <er...@redhat.com> AuthorDate: Tue Aug 2 20:30:05 2022 +0200 Commit: Eike Rathke <er...@redhat.com> CommitDate: Tue Aug 2 21:29:29 2022 +0200 Related: tdf#150203 Pricing, there is only one compatibility name, en-US ... but that was associated with de-DE instead. Change-Id: I9024666b5d33bbabbdb514075fe0598d072dacd5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137706 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Jenkins diff --git a/scaddins/source/pricing/pricing.cxx b/scaddins/source/pricing/pricing.cxx index 8652defb3ac0..f4e9e53f44af 100644 --- a/scaddins/source/pricing/pricing.cxx +++ b/scaddins/source/pricing/pricing.cxx @@ -105,8 +105,8 @@ ScaPricingAddIn::~ScaPricingAddIn() { } -static const char* pLang[] = { "de", "en" }; -static const char* pCoun[] = { "DE", "US" }; +static const char* pLang[] = { "en" }; +static const char* pCoun[] = { "US" }; const sal_uInt32 nNumOfLoc = SAL_N_ELEMENTS( pLang ); void ScaPricingAddIn::InitDefLocales() diff --git a/scaddins/source/pricing/pricing.hxx b/scaddins/source/pricing/pricing.hxx index ee362a3b3df3..6c6ad7d1dedb 100644 --- a/scaddins/source/pricing/pricing.hxx +++ b/scaddins/source/pricing/pricing.hxx @@ -61,8 +61,8 @@ struct ScaFuncDataBase const TranslateId* pDescrID; // resource ID to description, parameter names and ~ description // pCompName was originally meant to be able to load Excel documents that for // some time were stored with localized function names. - // This is not relevant to this add-in, so we only supply the same - // (English) function names again. + // This is not relevant to this add-in, so we only supply the + // English function name. // see also: GetExcelName() or GetCompNames() or getCompatibilityNames() const char* pCompName; sal_uInt16 nParamCount; // number of named / described parameters