[Libreoffice-commits] core.git: Branch 'libreoffice-7-2' - toolkit/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 8 14:04:43 UTC 2021
toolkit/source/awt/vclxwindows.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a32c39bb29a8f085d3a2b0880a632b3cda7e8bf5
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jul 8 10:03:22 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jul 8 16:04:22 2021 +0200
pGetFormatter was already fetched via GetFormatter()
so don't need to refetch it here
Change-Id: I0a881c1232c5749c4558088a58111908a8c8cb17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118614
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index ce81e68fdd2e..c1fbf72c1d55 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -5725,7 +5725,7 @@ css::uno::Any VCLXNumericField::getProperty( const OUString& PropertyName )
break;
case BASEPROPERTY_NUMSHOWTHOUSANDSEP:
{
- NumericFormatter* pNumericFormatter = static_cast<NumericFormatter*>(GetFormatter());
+ NumericFormatter* pNumericFormatter = static_cast<NumericFormatter*>(pFormatter);
aProp <<= pNumericFormatter->IsUseThousandSep();
}
break;
@@ -5981,7 +5981,7 @@ css::uno::Any VCLXMetricField::getProperty( const OUString& PropertyName )
{
case BASEPROPERTY_NUMSHOWTHOUSANDSEP:
{
- NumericFormatter* pNumericFormatter = static_cast<NumericFormatter*>(GetFormatter());
+ NumericFormatter* pNumericFormatter = static_cast<NumericFormatter*>(pFormatter);
aProp <<= pNumericFormatter->IsUseThousandSep();
break;
}
More information about the Libreoffice-commits
mailing list