From 8638f1e72a3fe830c0e8dcc1bd847d4fb9e599ee Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 21 Aug 2012 08:07:58 +0200 Subject: fdo#46808, Adapt script::Converter service code to new style Change-Id: I19b3ba7c978e02ce865360f0411007525012149c --- dbaccess/source/core/api/SingleSelectQueryComposer.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dbaccess') diff --git a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx index 5c09efc38dfe..854c7f122a4e 100644 --- a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx +++ b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -1594,7 +1595,7 @@ void OSingleSelectQueryComposer::setConditionByColumn( const Reference< XPropert if ( aValue.hasValue() ) { if( !m_xTypeConverter.is() ) - m_aContext.createComponent( "com.sun.star.script.Converter", m_xTypeConverter ); + m_xTypeConverter.set( Converter::create(m_aContext.getUNOContext()) ); OSL_ENSURE(m_xTypeConverter.is(),"NO typeconverter!"); if ( nType != DataType::BOOLEAN && DataType::BIT != nType ) -- cgit