Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
9a031cf7
Kaydet (Commit)
9a031cf7
authored
Agu 15, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Adapt for HAVE_FEATURE_MACOSX_MACLIKE_APP_STRUCTURE
Change-Id: I598efffda7be77171cdff9d3d5b8705972cfba18
üst
e939dfb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
paths.cxx
cppuhelper/source/paths.cxx
+14
-0
No files found.
cppuhelper/source/paths.cxx
Dosyayı görüntüle @
9a031cf7
...
@@ -17,6 +17,8 @@
...
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
*/
#include <config_features.h>
#include "sal/config.h"
#include "sal/config.h"
#include <cassert>
#include <cassert>
...
@@ -69,6 +71,18 @@ rtl::OUString cppu::getUnoIniUri() {
...
@@ -69,6 +71,18 @@ rtl::OUString cppu::getUnoIniUri() {
rtl
::
OUString
uri
(
"file:///assets/program"
);
rtl
::
OUString
uri
(
"file:///assets/program"
);
#else
#else
rtl
::
OUString
uri
(
get_this_libpath
());
rtl
::
OUString
uri
(
get_this_libpath
());
#if HAVE_FEATURE_MACOSX_MACLIKE_APP_STRUCTURE
// We keep both the LO and URE dylibs direcly in the Frameworks
// folder and rc files in Resources. Except for unorc, of which
// there are two, the "LO" one (which is in Resources) and the
// "URE" one which is in Resources/ure. As this code goes into the
// cppuhelper library which is part of URE, we are looking for the
// latter one here. I think...
if
(
uri
.
endsWith
(
"/Frameworks"
)
)
{
uri
=
uri
.
copy
(
0
,
uri
.
getLength
()
-
(
sizeof
(
"Frameworks"
)
-
1
)
)
+
"Resources/ure"
;
}
#endif
#endif
#endif
return
uri
+
"/"
SAL_CONFIGFILE
(
"uno"
);
return
uri
+
"/"
SAL_CONFIGFILE
(
"uno"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment