diff options
Diffstat (limited to 'connectivity/source/commontools/predicateinput.cxx')
-rw-r--r-- | connectivity/source/commontools/predicateinput.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/connectivity/source/commontools/predicateinput.cxx b/connectivity/source/commontools/predicateinput.cxx index 5a4fe74a7913..c8c719406181 100644 --- a/connectivity/source/commontools/predicateinput.cxx +++ b/connectivity/source/commontools/predicateinput.cxx @@ -106,10 +106,7 @@ namespace dbtools OSL_ENSURE( rxContext.is(), "OPredicateInputController::OPredicateInputController: need a service factory!" ); if ( rxContext.is() ) { - m_xFormatter = Reference< XNumberFormatter >( - NumberFormatter::create(rxContext), - UNO_QUERY_THROW - ); + m_xFormatter.set( NumberFormatter::create(rxContext), UNO_QUERY_THROW ); } Reference< XNumberFormatsSupplier > xNumberFormats = ::dbtools::getNumberFormats( m_xConnection, true ); |