From 3dd131d0a971fb04916ecbffcc031e58d5a29529 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sun, 10 Oct 2010 19:46:46 -0500 Subject: merge vosremoval-diagnoses patch --- extensions/workben/testresource.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions/workben/testresource.cxx') diff --git a/extensions/workben/testresource.cxx b/extensions/workben/testresource.cxx index b0b13b338..10dfc1753 100644 --- a/extensions/workben/testresource.cxx +++ b/extensions/workben/testresource.cxx @@ -33,7 +33,7 @@ #include #include -#include +#include #include #include @@ -78,14 +78,14 @@ void MyApp::Main() Args.getArray()[0].setINT32( 1000 ); BOOL b = xResLoader->invoke( L"hasString", Args, OutPos, OutArgs ).getBOOL(); - VOS_ENSHURE( b, "hasString" ); + OSL_ENSURE( b, "hasString" ); UString aStr = xResLoader->invoke( L"getString", Args, OutPos, OutArgs ).getString(); - VOS_ENSHURE( aStr == L"Hello", "getString" ); + OSL_ENSURE( aStr == L"Hello", "getString" ); Args.getArray()[0].setINT32( 1001 ); b = xResLoader->invoke( L"hasString", Args, OutPos, OutArgs ).getBOOL(); - VOS_ENSHURE( !b, "!hasString" ); + OSL_ENSURE( !b, "!hasString" ); xReg->revokeImplementation( aDllName, XSimpleRegistryRef() ); } -- cgit v1.2.3