diff options
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_statement.cxx')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_statement.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_statement.cxx b/connectivity/source/drivers/postgresql/pq_statement.cxx index e002067039a2..23727dbf126a 100644 --- a/connectivity/source/drivers/postgresql/pq_statement.cxx +++ b/connectivity/source/drivers/postgresql/pq_statement.cxx @@ -120,31 +120,31 @@ static ::cppu::IPropertyArrayHelper & getStatementPropertyArrayHelper() { Property( OUString("CursorName"), 0, - ::getCppuType( (OUString *)0) , 0 ), + ::cppu::UnoType<OUString>::get() , 0 ), Property( OUString("EscapeProcessing"), 1, ::getBooleanCppuType() , 0 ), Property( OUString("FetchDirection"), 2, - ::getCppuType( (sal_Int32 *)0) , 0 ), + ::cppu::UnoType<sal_Int32>::get() , 0 ), Property( OUString("FetchSize"), 3, - ::getCppuType( (sal_Int32 *)0) , 0 ), + ::cppu::UnoType<sal_Int32>::get() , 0 ), Property( OUString("MaxFieldSize"), 4, - ::getCppuType( (sal_Int32 *)0) , 0 ), + ::cppu::UnoType<sal_Int32>::get() , 0 ), Property( OUString("MaxRows"), 5, - ::getCppuType( (sal_Int32 *)0) , 0 ), + ::cppu::UnoType<sal_Int32>::get() , 0 ), Property( OUString("QueryTimeOut"), 6, - ::getCppuType( (sal_Int32 *)0) , 0 ), + ::cppu::UnoType<sal_Int32>::get() , 0 ), Property( OUString("ResultSetConcurrency"), 7, - ::getCppuType( (sal_Int32 *)0) , 0 ), + ::cppu::UnoType<sal_Int32>::get() , 0 ), Property( OUString("ResultSetType"), 8, - ::getCppuType( (sal_Int32 *)0) , 0 ) + ::cppu::UnoType<sal_Int32>::get() , 0 ) }; OSL_ASSERT( sizeof(aTable)/ sizeof(Property) == STATEMENT_SIZE ); static ::cppu::OPropertyArrayHelper arrayHelper( aTable, STATEMENT_SIZE, sal_True ); |