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


Thank you for following up this thread, it worked !

Martin

2012/1/31 Stephan Bergmann <sbergman@redhat.com>

On 01/24/2012 09:38 PM, Stephan Bergmann wrote:

One thing that's already there, though, is that if you can indeed go
with a single string-list property (lets assume you add it as
org.openoffice.Office.Common/**Misc/FilePickerBookmarks), you can

#include "officecfg/Office/Common.hxx"

and read the list (as a com::sun::star::uno::Sequence<**rtl::OUString>)
with

officecfg::Office::Common::**Misc::FilePickerBookmarks::**get(context)


Martin, for this to keep working please add a nillable="false" attribute
to your new property in Common.xcs, see <http://cgit.freedesktop.org/**
libreoffice/core/commit/?id=**e8bb827571f540ac4af2247cb11239**bb96876669<http://cgit.freedesktop.org/libreoffice/core/commit/?id=e8bb827571f540ac4af2247cb11239bb96876669>>
"Fixed cppheader.xsl nillable treatment."  (In addition to adding an empty
default <value/> so that the get() above does not throw an exception upon a
void Any, as discussed on IRC the other day.)


Stephan
______________________________**_________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.**org <LibreOffice@lists.freedesktop.org>
http://lists.freedesktop.org/**mailman/listinfo/libreoffice<http://lists.freedesktop.org/mailman/listinfo/libreoffice>




-- 
Martin <http://www.martiusweb.net> Richard
www.martiusweb.net <http://www.martiuweb.net>

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.