summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-12-12 18:01:03 +0000
committerKurt Zenker <kz@openoffice.org>2006-12-12 18:01:03 +0000
commit2e62727a2053d8e49beb7aac6c8bc2ad6ba07154 (patch)
treee9c82e8915dc004a7747ff1660642efeb93f9b45
parentac5e00f5bb7a442686caf1c0e4b944ac9d17ae4b (diff)
INTEGRATION: CWS sdwarningsbegone (1.6.38); FILE MERGED
2006/11/27 13:48:15 cl 1.6.38.2: #i69285# warning free code changes for sd project 2006/11/22 12:42:21 cl 1.6.38.1: #i69285# warning free code changes for unxlngi6.pro
-rw-r--r--sd/source/ui/unoidl/unomodule.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/unoidl/unomodule.cxx b/sd/source/ui/unoidl/unomodule.cxx
index 912251dbb063..9ce93767b502 100644
--- a/sd/source/ui/unoidl/unomodule.cxx
+++ b/sd/source/ui/unoidl/unomodule.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: unomodule.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 19:27:10 $
+ * last change: $Author: kz $ $Date: 2006-12-12 19:01:03 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -77,7 +77,7 @@ uno::Reference< uno::XInterface > SAL_CALL SdUnoModule_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr )
{
::vos::OGuard aGuard( Application::GetSolarMutex() );
- return uno::Reference< frame::XDispatch >( new SdUnoModule( rSMgr ) );
+ return uno::Reference< uno::XInterface >( static_cast< cppu::OWeakObject* >( new SdUnoModule( rSMgr ) ) );
}
// XNotifyingDispatch
@@ -118,11 +118,11 @@ void SAL_CALL SdUnoModule::dispatch( const ::com::sun::star::util::URL& aURL, co
dispatchWithNotification(aURL, aArgs, ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchResultListener >());
}
-void SAL_CALL SdUnoModule::addStatusListener(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & xControl, const ::com::sun::star::util::URL& aURL) throw( ::com::sun::star::uno::RuntimeException )
+void SAL_CALL SdUnoModule::addStatusListener(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > &, const ::com::sun::star::util::URL&) throw( ::com::sun::star::uno::RuntimeException )
{
}
-void SAL_CALL SdUnoModule::removeStatusListener(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & xControl, const ::com::sun::star::util::URL& aURL) throw( ::com::sun::star::uno::RuntimeException )
+void SAL_CALL SdUnoModule::removeStatusListener(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > &, const ::com::sun::star::util::URL&) throw( ::com::sun::star::uno::RuntimeException )
{
}
@@ -142,7 +142,7 @@ SEQUENCE< REFERENCE< XDISPATCH > > SAL_CALL SdUnoModule::queryDispatches( const
}
// XDispatchProvider
-REFERENCE< XDISPATCH > SAL_CALL SdUnoModule::queryDispatch( const UNOURL& aURL, const OUSTRING& sTargetFrameName, sal_Int32 eSearchFlags ) throw( RUNTIMEEXCEPTION )
+REFERENCE< XDISPATCH > SAL_CALL SdUnoModule::queryDispatch( const UNOURL& aURL, const OUSTRING&, sal_Int32 ) throw( RUNTIMEEXCEPTION )
{
::vos::OGuard aGuard( Application::GetSolarMutex() );
SdDLL::Init();