summaryrefslogtreecommitdiff
path: root/stoc/test/testcorefl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/test/testcorefl.cxx')
-rw-r--r--stoc/test/testcorefl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/test/testcorefl.cxx b/stoc/test/testcorefl.cxx
index d958301beaf7..e5d8b01a0c68 100644
--- a/stoc/test/testcorefl.cxx
+++ b/stoc/test/testcorefl.cxx
@@ -208,7 +208,7 @@ static sal_Bool test_corefl( const Reference< XIdlReflection > & xRefl )
Any aStructAny(&aStructC, ::getCppuType( (const StructC *) 0 ));
sal_Int32 nLong = aConstLong * 2;
- aAny.setValue( &nLong, ::getCppuType( (const sal_Int32 *)0 ) );
+ aAny.setValue( &nLong, cppu::UnoType<sal_Int32>::get());
OSL_ENSURE(*(sal_Int32*)xRefl->forName("ModuleA.StructA")->getField(OUString( "aLong" ))->get(
Any(&aStructC, ::getCppuType( (const StructC *)0 ))).getValue() == aConstLong, "test_RegCoreReflection(): error 52");