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


I want to use one of the API singletons (com.sun.star.util.thePathSettings
since you ask) but I can find nothing in the documentation telling me how to
create the (only) instance so I can get some of the properties.

As I understand singletons, they have a hidden constructor, and some form of
creator method which ensures that only one instance exists. But the
documentation for the singleton does not have any such method. I've tried
various syntactic forms to create one, none of which has worked.

Can some kind soul please put me out of my misery?

I know that I can use PathSettings, but this is deprecated, and I prefer to
be up-to-date.

I'm using LibO 5.4.5.1 if that helps.



-----
Peter
--
Sent from: http://nabble.documentfoundation.org/Users-f1639498.html

-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

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.