summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-10-15 11:03:03 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-10-15 11:03:03 +0000
commit4b6269c99066393645e615f81c7003c784056983 (patch)
tree6e10838cd9653f3acf8c816afac54bb2b4de6cef /stoc
parent30a0e8b1db94efffaf98dc17f5bb7bd0d329267c (diff)
INTEGRATION: CWS sb71 (1.14.34); FILE MERGED
2007/10/01 17:29:12 sb 1.14.34.2: RESYNC: (1.14-1.15); FILE MERGED 2007/06/22 09:36:19 sb 1.14.34.1: #i75466# Support for dynamic loading of the reg shared library has been dropped.
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/simpleregistry/simpleregistry.cxx18
1 files changed, 7 insertions, 11 deletions
diff --git a/stoc/source/simpleregistry/simpleregistry.cxx b/stoc/source/simpleregistry/simpleregistry.cxx
index 2b7d29967676..a554fc4ef170 100644
--- a/stoc/source/simpleregistry/simpleregistry.cxx
+++ b/stoc/source/simpleregistry/simpleregistry.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: simpleregistry.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: hr $ $Date: 2007-09-27 13:03:17 $
+ * last change: $Author: vg $ $Date: 2007-10-15 12:03:03 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1319,18 +1319,14 @@ namespace stoc_bootstrap
Reference<XInterface> SAL_CALL SimpleRegistry_CreateInstance( const Reference<XComponentContext>& )
{
Reference<XInterface> xRet;
- RegistryLoader aLoader;
- if ( aLoader.isLoaded() )
- {
- Registry reg(aLoader);
+ Registry reg;
- XSimpleRegistry *pRegistry = (XSimpleRegistry*) new stoc_simreg::SimpleRegistryImpl(reg);
+ XSimpleRegistry *pRegistry = (XSimpleRegistry*) new stoc_simreg::SimpleRegistryImpl(reg);
- if (pRegistry)
- {
- xRet = Reference<XInterface>::query(pRegistry);
- }
+ if (pRegistry)
+ {
+ xRet = Reference<XInterface>::query(pRegistry);
}
return xRet;