-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I managed to debug my problem to XCloseable.close() function.

Reference< XCloseable > xCloseable( xComponent, UNO_QUERY );
if ( xCloseable.is() ) {
  xCloseable->close( sal_True );
}

This makes my function to throw when it comes out from try block. If I
comment  'xCloseable->close' then everythin works and my function newer
throw. I also got it working by addin sleep call after 'xCloseable->close':

Reference< XCloseable > xCloseable( xComponent, UNO_QUERY );
if ( xCloseable.is() ) {
  xCloseable->close( sal_True );
  sleep(1); // works but too slow
}

What this means? BTW 'xComponent->dispose();' causes throwing as well. This
never happened with OOo3.0.


regards
Petteri

Petteri Larjos wrote:
> After upgrade of my ubuntu my UNO application started behave strange. Now
> my function which reads some rows from excel file throws
> 'com::sun::star::io::IOException' when execution comes out of try block.
> Last line of try block is executed but after that it throws (probably one
> of the destructors?). To be even more strange this occurs only occasionaly.
>  I tried to recompile without any luck. With openoffice.org 3.0 all worked
> just fine. Now I am using OOo3.1.1 and openoffice.org3.1_sdk (ubuntu karmic
> koala). Any ideas?

- --
Petteri Larjos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktW2QQACgkQ3dz7EBdslBJ5LACgjBYkMzm22ZAduJzy9FOiOPU2
cl8An3NNeBrwhTt9bm5TMdmLSTByDo9b
=GsaP
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to