diff options
Diffstat (limited to 'stoc/test/testsmgr.cxx')
-rw-r--r-- | stoc/test/testsmgr.cxx | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/stoc/test/testsmgr.cxx b/stoc/test/testsmgr.cxx index 7d7467f9c963..add5da03a59d 100644 --- a/stoc/test/testsmgr.cxx +++ b/stoc/test/testsmgr.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: testsmgr.cxx,v $ - * $Revision: 1.13 $ + * $Revision: 1.13.16.1 $ * * This file is part of OpenOffice.org. * @@ -77,16 +77,7 @@ OUString getExePath() void setStarUserRegistry() { - RegistryLoader* pLoader = new RegistryLoader(); - - if (!pLoader->isLoaded()) - { - delete pLoader; - return; - } - - Registry *myRegistry = new Registry(*pLoader); - delete pLoader; + Registry *myRegistry = new Registry(); RegistryKey rootKey, rKey, rKey2; |