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=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
http://lists.freedesktop.org/mailman/listinfo/libreoffice