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
7580eebe
Kaydet (Commit)
7580eebe
authored
Eyl 20, 2013
tarafından
Jürgen Schmidt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#123283# check places where registry is check for office installation
üst
1bb48c93
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
findsofficepath.c
cppuhelper/source/findsofficepath.c
+3
-3
InstallationFinder.java
odk/source/com/sun/star/lib/loader/InstallationFinder.java
+1
-1
No files found.
cppuhelper/source/findsofficepath.c
Dosyayı görüntüle @
7580eebe
...
...
@@ -97,14 +97,14 @@ static char* platformSpecific()
if
(
path
==
NULL
)
{
/* read the key's default value from HKEY_LOCAL_USER 64 */
path
=
getPathFromRegistryKey
(
HKEY_
LOCAL_MACHINE
,
SUBKEYNAME64
);
path
=
getPathFromRegistryKey
(
HKEY_
CURRENT_USER
,
SUBKEYNAME64
);
}
else
if
(
path
==
NULL
)
if
(
path
==
NULL
)
{
/* read the key's default value from HKEY_LOCAL_MACHINE */
path
=
getPathFromRegistryKey
(
HKEY_LOCAL_MACHINE
,
SUBKEYNAME
);
}
else
if
(
path
==
NULL
)
if
(
path
==
NULL
)
{
/* read the key's default value from HKEY_LOCAL_MACHINE 64*/
path
=
getPathFromRegistryKey
(
HKEY_LOCAL_MACHINE
,
SUBKEYNAME64
);
...
...
odk/source/com/sun/star/lib/loader/InstallationFinder.java
Dosyayı görüntüle @
7580eebe
...
...
@@ -200,7 +200,7 @@ final class InstallationFinder {
}
catch
(
WinRegKeyException
e
)
{
try
{
// read the key's default value from HKEY_LOCAL_MACHINE
WinRegKey
key
=
new
WinRegKey
(
"HKEY_
LOCAL
_USER"
,
WinRegKey
key
=
new
WinRegKey
(
"HKEY_
CURRENT
_USER"
,
SUBKEYNAME64
);
path
=
key
.
getStringValue
(
""
);
// default
}
catch
(
WinRegKeyException
e64
)
{
...
...
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