All pastes #280435 Raw Edit

hussam

public text v1 · immutable
·published 2006-12-15 22:27 UTC
rendered paste body
--- stoc/test/testsmgr_cpnt.cxx	2006-12-01 19:57:10.000000000 +0200
+++ stoc/test/testsmgr_cpnt.cxx	2006-12-16 00:25:28.000000000 +0200
@@ -480,6 +480,10 @@
 void SAL_CALL component_getImplementationEnvironment(
 	const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv )
 {
+     com::sun::star::uno::RuntimeException e;
+     Type t = getCppuType(&e);
+     printf( "\nI crash now (%p)\n",t.getTypeLibType() );
+     printf( "%s\n", OUStringToOString( t.getTypeName(), RTL_TEXTENCODING_ASCII_US).getStr() );
 	*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
 }
 //==================================================================================================