[Libreoffice-commits] core.git: lotuswordpro/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Sun Aug 23 21:43:54 UTC 2020
lotuswordpro/source/filter/lwpnumericfmt.cxx | 6 +++---
lotuswordpro/source/filter/lwpnumericfmt.hxx | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 57520e35bb250eff60bd8e3dcdd3d7ef1129e1b5
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Aug 22 18:41:25 2020 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Aug 23 23:43:15 2020 +0200
Fix typo in code
Change-Id: Ie0f3d8b01e0370f0a2e95d46b61be56943d3bd78
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101198
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/lotuswordpro/source/filter/lwpnumericfmt.cxx b/lotuswordpro/source/filter/lwpnumericfmt.cxx
index 3edf96eeb8dc..c2dc4d4e76a6 100644
--- a/lotuswordpro/source/filter/lwpnumericfmt.cxx
+++ b/lotuswordpro/source/filter/lwpnumericfmt.cxx
@@ -209,7 +209,7 @@ LwpNumericFormat::GetDecimalPlaces()
return cDecimalPlaces;
return GetDefaultDecimalPlaces(cFormat);
}
-void LwpNumericFormat::GetCurrencyStr(LwpNumericFormatSubset aNumber, OUString& aPrefix, OUString& aSuffix, bool bNegtive)
+void LwpNumericFormat::GetCurrencyStr(LwpNumericFormatSubset aNumber, OUString& aPrefix, OUString& aSuffix, bool bNegative)
{
aPrefix = aNumber.GetPrefix();
aSuffix = aNumber.GetSuffix();
@@ -220,7 +220,7 @@ void LwpNumericFormat::GetCurrencyStr(LwpNumericFormatSubset aNumber, OUString&
bool bShowSpace = m_aCurrencyInfo.IsShowSpace(cFormat);
if ( aNumber.IsDefaultPrefix())
{
- if (bNegtive)
+ if (bNegative)
{
aPrefix = "(";
}
@@ -246,7 +246,7 @@ void LwpNumericFormat::GetCurrencyStr(LwpNumericFormatSubset aNumber, OUString&
}
- if (bNegtive)
+ if (bNegative)
{
aSuffix += ")";
}
diff --git a/lotuswordpro/source/filter/lwpnumericfmt.hxx b/lotuswordpro/source/filter/lwpnumericfmt.hxx
index 225f373c4f6f..ef1af1da01ec 100644
--- a/lotuswordpro/source/filter/lwpnumericfmt.hxx
+++ b/lotuswordpro/source/filter/lwpnumericfmt.hxx
@@ -269,7 +269,7 @@ private:
static sal_uInt16 GetDefaultDecimalPlaces(sal_uInt16 Format);
static LwpCurrencyPool m_aCurrencyInfo;
- void GetCurrencyStr(LwpNumericFormatSubset aNumber, OUString& aPrefix, OUString& aSuffix, bool bNegtive=false);
+ void GetCurrencyStr(LwpNumericFormatSubset aNumber, OUString& aPrefix, OUString& aSuffix, bool bNegative=false);
void SetNumberType(XFNumberStyle* pStyle);
static OUString reencode(const OUString& sCode);
};
More information about the Libreoffice-commits
mailing list