summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_preparedstatement.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_preparedstatement.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx b/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
index 83dbdbf9d3d8..55c0175e48fa 100644
--- a/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
+++ b/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
@@ -107,31 +107,31 @@ static ::cppu::IPropertyArrayHelper & getPreparedStatementPropertyArrayHelper()
{
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) == PREPARED_STATEMENT_SIZE );
static ::cppu::OPropertyArrayHelper arrayHelper( aTable, PREPARED_STATEMENT_SIZE, sal_True );