summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-07-28 14:42:08 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-07-28 14:42:08 +0200
commit683d975d70e087412a95f5cc8e0b3eeddf1e6cf6 (patch)
tree7ff73f6749d278d8c5e3bbcfa8a4cd7bfed30813 /stoc
parente15e0af1f74d9376139d9ff855358a2e1fcc7527 (diff)
we are searching for prefix in activate
also fix small typo
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/loader/dllcomponentloader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/loader/dllcomponentloader.cxx b/stoc/source/loader/dllcomponentloader.cxx
index 4fd75a53060e..109683822670 100644
--- a/stoc/source/loader/dllcomponentloader.cxx
+++ b/stoc/source/loader/dllcomponentloader.cxx
@@ -209,7 +209,7 @@ Reference<XInterface> SAL_CALL DllComponentLoader::activate(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("/UNO/ACTIVATOR") ) );
if (xActivatorKey.is() && xActivatorKey->getValueType() == RegistryValueType_ASCII )
{
- Reference<XRegistryKey > xPrefixKey = xActivatorKey->openKey(
+ Reference<XRegistryKey > xPrefixKey = xKey->openKey(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("/UNO/PREFIX") ) );
if( xPrefixKey.is() && xPrefixKey->getValueType() == RegistryValueType_ASCII )
{