diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-01-12 14:30:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-01-13 08:17:11 +0100 |
commit | 229c312834f8931994ed1147a0cc136ce4b2de69 (patch) | |
tree | e355b34615f787108af125f5a324be8fe86d37f7 /cppuhelper/source | |
parent | 809d1e206fa9ac87ee9e04006285edfc3907667c (diff) |
Adapt comment
...to 76e04aef4b4adea8179d564b158e58f495ed43a4 "Rename LO-specific uno ini-file
(Linux: program/unorc) to 'louno'". (And yes, the original comment guessed
right: it is the URE uno ini-file that we look for here.)
Change-Id: I3006a5169ae066b984e415d17841f69db338b68b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128325
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cppuhelper/source')
-rw-r--r-- | cppuhelper/source/paths.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/cppuhelper/source/paths.cxx b/cppuhelper/source/paths.cxx index 0f59fb1272da..480dcde48fe7 100644 --- a/cppuhelper/source/paths.cxx +++ b/cppuhelper/source/paths.cxx @@ -64,13 +64,8 @@ OUString cppu::getUnoIniUri() { #else OUString uri(get_this_libpath()); #ifdef MACOSX - // We keep both the LO and URE dylibs directly in "Frameworks" - // (that is, LIBO_LIB_FOLDER) and rc files in "Resources" - // (LIBO_ETC_FOLDER). Except for unorc, of which there are two, - // the "LO" one (which is in "Resources") and the "URE" one (which - // is in "Resources/ure/etc" (LIBO_URE_ETC_FOLDER)). As this code - // goes into the cppuhelper library which is part of URE, we are - // looking for the latter one here. I think... + // We keep the URE dylibs directly in "Frameworks" (that is, LIBO_LIB_FOLDER) and unorc in + // "Resources/ure/etc" (LIBO_URE_ETC_FOLDER). if (uri.endsWith( "/" LIBO_LIB_FOLDER ) ) { uri = OUString::Concat(uri.subView( 0, uri.getLength() - (sizeof(LIBO_LIB_FOLDER)-1) )) + LIBO_URE_ETC_FOLDER; |