diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-22 18:41:25 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-08-23 23:43:15 +0200 |
commit | 57520e35bb250eff60bd8e3dcdd3d7ef1129e1b5 (patch) | |
tree | 76bc91f5cedefc52e6c21988327f14d8faf2872f /lotuswordpro | |
parent | c123bfff501229f398a1b679fc7434b82d53685c (diff) |
Fix typo in code
Change-Id: Ie0f3d8b01e0370f0a2e95d46b61be56943d3bd78
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101198
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpnumericfmt.cxx | 6 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpnumericfmt.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
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); }; |