summaryrefslogtreecommitdiff
path: root/starmath/source/unomodel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/unomodel.cxx')
-rw-r--r--starmath/source/unomodel.cxx11
1 files changed, 1 insertions, 10 deletions
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 )
{