diff options
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 4 |
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; } |