diff options
Diffstat (limited to 'comphelper/source/misc/numbers.cxx')
-rw-r--r-- | comphelper/source/misc/numbers.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/comphelper/source/misc/numbers.cxx b/comphelper/source/misc/numbers.cxx index 6df5a155fd1c..29b460641b98 100644 --- a/comphelper/source/misc/numbers.cxx +++ b/comphelper/source/misc/numbers.cxx @@ -67,8 +67,7 @@ css::uno::Any getNumberFormatDecimals(const css::uno::Reference<css::util::XNumb css::uno::Reference<css::beans::XPropertySet> xFormat( xFormats->getByKey(nKey)); if (xFormat.is()) { - static OUString PROPERTY_DECIMALS( "Decimals" ); - return xFormat->getPropertyValue(PROPERTY_DECIMALS); + return xFormat->getPropertyValue( "Decimals" ); } } catch(...) |