diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-24 10:04:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-24 11:21:43 +0100 |
commit | 8d2d9ce5f4323ec2542acf57f52a26d5826bcc3b (patch) | |
tree | 7fbbb8ee8c130d3b36cb56b8e0d2dab148d46282 /basctl/source/basicide/unomodel.cxx | |
parent | 1b5ee6c7f47b56a5ca52a327bcb2712a1d8a77a1 (diff) |
rearrange this to not leak search configitem
Diffstat (limited to 'basctl/source/basicide/unomodel.cxx')
-rw-r--r-- | basctl/source/basicide/unomodel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/unomodel.cxx b/basctl/source/basicide/unomodel.cxx index 76b3057b6409..3e599136dd0e 100644 --- a/basctl/source/basicide/unomodel.cxx +++ b/basctl/source/basicide/unomodel.cxx @@ -121,7 +121,7 @@ uno::Reference< uno::XInterface > SAL_CALL SIDEModel_createInstance( const uno::Reference< lang::XMultiServiceFactory > & ) throw( uno::Exception ) { SolarMutexGuard aGuard; - BasicIDEDLL::Init(); + BasicIDEGlobals::ensure(); SfxObjectShell* pShell = new BasicDocShell(); return uno::Reference< uno::XInterface >( pShell->GetModel() ); } |