Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Hi Julien
On 06/12/10 21:40, Julien Nabet wrote:
Hello,

Here's a small patch for dbaccess/source/ui/dlg

This is a strange one, it seems SERVICE_UI_FOLDERPICKER is not a simple const char but an instance of ConstAsciiString ( defined in dbaccess/source/inc/constasciistring.hxx ) so I changed the patch as follows

- ::rtl::OUString sFolderPickerService = ::rtl::OUString::createFromAscii(SERVICE_UI_FOLDERPICKER); + ::rtl::OUString sFolderPickerService(SERVICE_UI_FOLDERPICKER);

it seems that there is already an operator to return an OUString& . Caolan, this is a new one on me, you seen it before? Does that look like we might have problems if we converted similar definitions as presumeably RTL_CONSTASCII_USTRINGPARAM would try to take sizeof( ConstAsciiString ) in that case

I committed the variation above


Noel

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.