[Libreoffice-bugs] [Bug 124799] New: osl_getEnvironment wrapper ...
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Apr 17 15:15:55 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=124799
Bug ID: 124799
Summary: osl_getEnvironment wrapper ...
Product: LibreOffice
Version: 6.3.0.0.alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: minor
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: michael.meeks at collabora.com
Its unclear if we need this anymore - but the osl_getEnvironment at least
returns an OUString which is nice.
However having a pleasant in-line C++ wrapper which would return an empty
string if not set; along with an optional default would be much nicer:
git grep -3 osl_getEnvironment
and weep =) ditto for setEnvironment. Something like:
OUString getEnvironment(const OUString &name, const OUString &optionalDefault =
OUString());
or whatever would be a nice improvement I think - if that makes sense Stephan ?
Thanks (easy hack).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190417/5e24d119/attachment.html>
More information about the Libreoffice-bugs
mailing list