> * and the using declaration: > > using namespace com::sun::star; > > The compiler should detect that system::XSystemShellExecute is > com::sun::star::system::XSystemShellExecute and so on, unless it > collides with a system namespace on the system's headers ? > > Anyway feel free to commit it, if this solves your problem.
I'll wait for other's opinions, because I too thought that it should work as written (using c:s:s), weird. Other parts of the code use namespace css = com::sun::star; uno::Reference< css::system::XSystemShellExecute > xSystemShell(... despite the fact that using namespace com::sun::star is there as well. Maybe "system" is somehow strange. Any ideas about the strangeness? ;-) -- Pavel Janík