summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_baseresultset.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_baseresultset.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_baseresultset.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_baseresultset.cxx b/connectivity/source/drivers/postgresql/pq_baseresultset.cxx
index 5b4a03066cb0..a8af6d40eb74 100644
--- a/connectivity/source/drivers/postgresql/pq_baseresultset.cxx
+++ b/connectivity/source/drivers/postgresql/pq_baseresultset.cxx
@@ -104,25 +104,25 @@ static ::cppu::IPropertyArrayHelper & getResultSetPropertyArrayHelper()
// At least use for the handles the #define'd values in .hxx file...
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("IsBookmarkable"), 4,
::getBooleanCppuType() , 0 ),
Property(
OUString("ResultSetConcurrency"), 5,
- ::getCppuType( (sal_Int32 *)0) , 0 ),
+ ::cppu::UnoType<sal_Int32>::get() , 0 ),
Property(
OUString("ResultSetType"), 6,
- ::getCppuType( (sal_Int32 *)0) , 0 )
+ ::cppu::UnoType<sal_Int32>::get() , 0 )
};
OSL_ASSERT( sizeof(aTable) / sizeof(Property) == BASERESULTSET_SIZE );
static ::cppu::OPropertyArrayHelper arrayHelper( aTable, BASERESULTSET_SIZE, sal_True );