Hello everyone,
I'm trying to do that:
http://wiki.openoffice.org/wiki/Programming_OOoDraw_and_OOoImpress#Giving_a_Name_to_the_Shape
and the connection is successful and the XComponentloader is instanciated
but when I add this part of code:
//get an instance of the spreadsheet
Reference< XComponent > xcomponent =
rComponentLoader->loadComponentFromURL(
OUString::createFromAscii("private:factory/swriter"),
OUString::createFromAscii("prueba"),
0,
Sequence < ::com::sun::star::beans::PropertyValue >());
I get that:
Connected sucessfully to the office
XComonentloader succesfully instanciated
Segmentation fault (core dumped)
make: *** [firstConnection_back.run] Error 139
I'm working in Ubuntu 12.04
I would like to know if the code have changed or if I need to add something
more.
Is possible that I haven't something installed in my computer?
Regards...