summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-07-08 10:03:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-07-08 16:04:09 +0200
commit583291d2d8d0cc9815b144c1b02847eb29421ccb (patch)
treed47f00dce0e9d122edbb1a54f92f9c2ecdaca1b0 /toolkit
parentaa5acdda9a1bd05263e482c4f527be6d088edde6 (diff)
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/+/118605 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxwindows.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index 0277ec36a780..caf63ba3b5d0 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;
}