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 <[email protected]> AuthorDate: Sat Aug 22 18:41:25 2020 +0200 Commit: Julien Nabet <[email protected]> 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 <[email protected]> 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); }; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
