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
fff2d18a
Kaydet (Commit)
fff2d18a
authored
May 03, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
respect absolute paths for mozilla profile, fdo#45171, lp#919659
Change-Id: I536238f1f3b05e0a942caa1f65444688d4d36704
üst
c77110b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
MNSProfileDiscover.cxx
...ity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx
+12
-2
No files found.
connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx
Dosyayı görüntüle @
fff2d18a
...
...
@@ -203,13 +203,13 @@ namespace connectivity
}
if
(
!
(
profileName
.
isEmpty
()
&&
profilePath
.
isEmpty
()))
{
#ifndef MINIMAL_PROFILEDISCOVER
sal_Int32
isRelative
=
0
;
if
(
!
sIsRelative
.
isEmpty
())
{
isRelative
=
sIsRelative
.
toInt32
();
}
#ifndef MINIMAL_PROFILEDISCOVER
nsCOMPtr
<
nsILocalFile
>
rootDir
;
rv
=
NS_NewLocalFile
(
EmptyString
(),
PR_TRUE
,
getter_AddRefs
(
rootDir
));
...
...
@@ -230,11 +230,21 @@ namespace connectivity
rv
=
rootDir
->
SetPersistentDescriptor
(
filePath
);
}
if
(
NS_FAILED
(
rv
))
continue
;
#else
rtl
::
OUString
fullProfilePath
;
if
(
isRelative
)
{
fullProfilePath
=
regDir
+
profilePath
;
}
else
{
fullProfilePath
=
profilePath
;
}
#endif
ProfileStruct
*
profileItem
=
new
ProfileStruct
(
product
,
profileName
,
#ifdef MINIMAL_PROFILEDISCOVER
regDir
+
p
rofilePath
fullP
rofilePath
#else
rootDir
#endif
...
...
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