summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/unomodel.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-01-16 15:34:12 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-01-16 15:34:12 +0000
commit0fb0c48ffe6329c4243820e99a325627adacc1d4 (patch)
tree69e60616f353f442b760743756c67c9581639f08 /basctl/source/basicide/unomodel.cxx
parent332a4ecf789edff94e3dce43148ea5ed547e3e13 (diff)
INTEGRATION: CWS ab33 (1.6.40); FILE MERGED
2007/01/10 16:34:48 ab 1.6.40.1: #i69280# Removed warnings
Diffstat (limited to 'basctl/source/basicide/unomodel.cxx')
-rw-r--r--basctl/source/basicide/unomodel.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/basicide/unomodel.cxx b/basctl/source/basicide/unomodel.cxx
index 67ef492e4d4d..0711e353ddc7 100644
--- a/basctl/source/basicide/unomodel.cxx
+++ b/basctl/source/basicide/unomodel.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: unomodel.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 00:30:25 $
+ * last change: $Author: vg $ $Date: 2007-01-16 16:34:12 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -72,7 +72,7 @@ uno::Any SAL_CALL SIDEModel::queryInterface( const uno::Type& rType ) throw(uno:
{
uno::Any aRet = ::cppu::queryInterface ( rType,
// OWeakObject interfaces
- reinterpret_cast< XInterface* > ( this ),
+ static_cast< XInterface* >( static_cast< OWeakObject* >( this ) ),
static_cast< XWeak* > ( this ),
static_cast< XServiceInfo* > ( this ) );
if (!aRet.hasValue())
@@ -131,7 +131,7 @@ uno::Sequence< OUString > SIDEModel::getSupportedServiceNames_Static(void)
}
uno::Reference< uno::XInterface > SAL_CALL SIDEModel_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) throw( uno::Exception )
+ const uno::Reference< lang::XMultiServiceFactory > & ) throw( uno::Exception )
{
::vos::OGuard aGuard( Application::GetSolarMutex() );
BasicIDEDLL::Init();