From e2f6d4d040d66b122c13534f348e53ec173fb217 Mon Sep 17 00:00:00 2001 From: Ivo Hinkelmann Date: Thu, 24 Apr 2008 13:01:03 +0000 Subject: INTEGRATION: CWS tl50 (1.46.20); FILE MERGED 2008/03/28 11:13:56 tl 1.46.20.2: RESYNC: (1.46-1.47); FILE MERGED 2008/02/27 15:57:00 tl 1.46.20.1: #i86272# unused code removed --- starmath/source/unomodel.cxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'starmath/source/unomodel.cxx') diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index f035bc300e9a..8fc038f48e1a 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: unomodel.cxx,v $ - * $Revision: 1.48 $ + * $Revision: 1.49 $ * * This file is part of OpenOffice.org. * @@ -1011,15 +1011,6 @@ void SAL_CALL SmModel::render( } } -uno::Reference< uno::XInterface > SAL_CALL SmModel_createInstance( - const uno::Reference< lang::XMultiServiceFactory > & /*rSMgr*/ ) throw( uno::Exception ) -{ - ::vos::OGuard aGuard( Application::GetSolarMutex() ); - SmDLL::Init(); - SfxObjectShell* pShell = new SmDocShell( SFX_CREATE_MODE_STANDARD ); - return uno::Reference< uno::XInterface >( pShell->GetModel() ); -} - void SAL_CALL SmModel::setParent( const uno::Reference< uno::XInterface >& xParent) throw( lang::NoSupportException, uno::RuntimeException ) { -- cgit