summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorJürgen Schmidt <jsc@apache.org>2013-09-20 09:01:45 +0000
committerJürgen Schmidt <jsc@apache.org>2013-09-20 09:01:45 +0000
commit7580eebebb9a10a7abe54ac654c334f727fc3f42 (patch)
tree567da7fa5624fb140bcf804f10748b1e91a4b6be /odk
parent1bb48c93699ef4cbcaff9bb6a8dd33a45d238ba1 (diff)
#123283# check places where registry is check for office installation
Notes
Notes: prefer: a66f9903bba9dc7eeff6683ebddcd34d4ad70068
Diffstat (limited to 'odk')
-rw-r--r--odk/source/com/sun/star/lib/loader/InstallationFinder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/source/com/sun/star/lib/loader/InstallationFinder.java b/odk/source/com/sun/star/lib/loader/InstallationFinder.java
index c3c161df96bf..3ccc2f0aa7f8 100644
--- a/odk/source/com/sun/star/lib/loader/InstallationFinder.java
+++ b/odk/source/com/sun/star/lib/loader/InstallationFinder.java
@@ -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 ) {