summaryrefslogtreecommitdiff
path: root/starmath/source/unomodel.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-04-24 13:01:03 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-04-24 13:01:03 +0000
commite2f6d4d040d66b122c13534f348e53ec173fb217 (patch)
treeaed5d941a92417d0cc44ac03f9e5799c7f792b74 /starmath/source/unomodel.cxx
parent9d4b71c57fee271818b199d753cf383c9fc0a17c (diff)
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
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 )
{