https://bugs.documentfoundation.org/show_bug.cgi?id=49602

--- Comment #15 from Stephan Bergmann <sberg....@gmail.com> ---
(In reply to seturajmatroja from comment #14)
> Does it even reach that point?

The relevant code in expandMacros would be reached for a reference of the form

> ${<absolute-ini-file-URI>:<section>:<key>}

which is likely not encountered in a typical LO installation set.  (So you
would likely set up some test code for it.  There already is e.g.
sal/qa/rtl/bootstrap/expand.cxx.)


Caveat:  The existing rtl/bootstrap code just effectively ignores "[section]"
markers in the ini-files it processes.  It uniformly consumes all key=value
pairs regardless of what sections, if any, they are in.  (It nominally requires
that bootstrap variables are in "[bootstrap]" sections, but does not enforce
that.  And, for backwards compatibility, we should likely continue with this
behavior.)  So there would be a problem how to treat the <section> part in the
above reference, if we were to change the processing code from osl/profile to
existing rtl/bootsrap functionality.  The change proposed here might or might
not be such a bright idea after all, and might or might not actually be an easy
hack (though it already has the high category "interesting", for a reason).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to