summaryrefslogtreecommitdiff
path: root/scaddins
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2022-08-02 20:30:05 +0200
committerEike Rathke <erack@redhat.com>2022-08-02 21:29:29 +0200
commit8690d8878248320b0b706e9d6f7b8fa89ed903c4 (patch)
tree658847d330a367c1c7aa498cf7a2dd6021093864 /scaddins
parentdac843c4dc0407430d5a7441fd80940a99a4d8f8 (diff)
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 <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'scaddins')
-rw-r--r--scaddins/source/pricing/pricing.cxx4
-rw-r--r--scaddins/source/pricing/pricing.hxx4
2 files changed, 4 insertions, 4 deletions
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