factory.cxx (9d7e27ac) factory.cxx (7950f2af)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 850 unchanged lines hidden (view full) ---

859 aLocation = xLocationKey->getAsciiValue();
860 }
861 else
862 {
863 // old style"url"
864 // the location of the program code of the implementation
865 Reference<XRegistryKey > xLocationKey = xImplementationKey->openKey(
866 OUString( RTL_CONSTASCII_USTRINGPARAM("/UNO/URL") ) );
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 850 unchanged lines hidden (view full) ---

859 aLocation = xLocationKey->getAsciiValue();
860 }
861 else
862 {
863 // old style"url"
864 // the location of the program code of the implementation
865 Reference<XRegistryKey > xLocationKey = xImplementationKey->openKey(
866 OUString( RTL_CONSTASCII_USTRINGPARAM("/UNO/URL") ) );
867 // is the the key of the right type ?
867 // is the key of the right type ?
868 if( xLocationKey.is() && xLocationKey->getValueType() == RegistryValueType_ASCII )
869 {
870 // one implementation found -> try to activate
871 aLocation = xLocationKey->getAsciiValue();
872
873 // search protocol delemitter
874 sal_Int32 nPos = aLocation.indexOf(
875 OUString( RTL_CONSTASCII_USTRINGPARAM("://") ) );

--- 269 unchanged lines hidden ---
868 if( xLocationKey.is() && xLocationKey->getValueType() == RegistryValueType_ASCII )
869 {
870 // one implementation found -> try to activate
871 aLocation = xLocationKey->getAsciiValue();
872
873 // search protocol delemitter
874 sal_Int32 nPos = aLocation.indexOf(
875 OUString( RTL_CONSTASCII_USTRINGPARAM("://") ) );

--- 269 unchanged lines hidden ---