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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to