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

2014-10-25 Thread Michael Stahl
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

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

2014-10-25 Thread Noel Grandin
why do you want to make a deep copy? The Reference'd object is reference-counted, so you can just = the new member and the old member. On Sat, Oct 25, 2014 at 9:09 AM, Mihály Palenik wrote: > Hello > > I'd like to write a copy constructor and the class has > ::com::sun::star::uno::Reference membe

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

2014-10-25 Thread Mihály Palenik
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? Best regards Mihály Palenik ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mai