::com::sun::star::uno::Reference deep copy

Michael Stahl mstahl at redhat.com
Sat Oct 25 11:57:24 PDT 2014


On 25.10.2014 09:09, Mihály Palenik wrote:
> Hello
> 
> I'd like to write a copy constructor and the class has
> ::com::sun::star::uno::Reference member. How can I make a deep copy?

if you really need a deep copy the only way is to use the
css.util.XCloneable interface .... which of course has to be implemented
by the service you want to copy.

http://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1util_1_1XCloneable.html



More information about the LibreOffice mailing list