svl/source/numbers/zforlist.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit c96e390285d5262bd7c165763d0af571a2a8ab7f Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Mon Nov 11 13:29:39 2024 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Mon Nov 11 16:45:29 2024 +0100 tdf#163486: PVS: argument name is the same as one class member V688 The 'nNegativeFormat' function argument possesses the same name as one of the class members, which can result in a confusion. Change-Id: Ia558367b2325820f1cdeedcd92a7a0e663cf9f15 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176402 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index bc012180f0f7..7d4143901bd6 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -5088,9 +5088,9 @@ void NfCurrencyEntry::CompletePositiveFormatString(OUStringBuffer& rStr, std::u1 // static void NfCurrencyEntry::CompleteNegativeFormatString(OUStringBuffer& rStr, std::u16string_view rSymStr, - sal_uInt16 nNegativeFormat) + sal_uInt16 nNegaForm) { - switch( nNegativeFormat ) + switch( nNegaForm ) { case 0: // ($1) {