From 69d0356adb3e4f83b4ad7458165b666433a5a358 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Mon, 19 Jun 2006 21:29:50 +0000 Subject: INTEGRATION: CWS warnings01 (1.87.62); FILE MERGED 2006/05/23 22:10:19 sb 1.87.62.5: RESYNC: (1.90-1.91); FILE MERGED 2006/04/20 14:56:47 sb 1.87.62.4: #i53898# Made code compile and/or warning-free again after resync to SRC680m162. 2006/04/07 19:30:09 sb 1.87.62.3: RESYNC: (1.88-1.90); FILE MERGED 2006/01/25 20:05:43 sb 1.87.62.2: RESYNC: (1.87-1.88); FILE MERGED 2005/11/28 16:16:23 cd 1.87.62.1: #i55991# Remove warnings --- sfx2/source/doc/objserv.cxx | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'sfx2/source') diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index d1f195738909..2c6237b45ed5 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -4,9 +4,9 @@ * * $RCSfile: objserv.cxx,v $ * - * $Revision: 1.91 $ + * $Revision: 1.92 $ * - * last change: $Author: rt $ $Date: 2006-05-02 16:43:46 $ + * last change: $Author: hr $ $Date: 2006-06-19 22:29:50 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -225,7 +225,7 @@ SFX_IMPL_INTERFACE(SfxObjectShell,SfxShell,SfxResId(0)) { } -long SfxObjectShellClose_Impl( void* pObj, void* pArg ) +long SfxObjectShellClose_Impl( void* /*pObj*/, void* pArg ) { SfxObjectShell *pObjSh = (SfxObjectShell*) pArg; if ( pObjSh->Get_Impl()->bHiddenLockedByAPI ) @@ -268,7 +268,7 @@ SfxClosePreventer_Impl::SfxClosePreventer_Impl() { } -void SAL_CALL SfxClosePreventer_Impl::queryClosing( const lang::EventObject& aEvent, sal_Bool bDeliverOwnership ) +void SAL_CALL SfxClosePreventer_Impl::queryClosing( const lang::EventObject&, sal_Bool bDeliverOwnership ) throw ( uno::RuntimeException, util::CloseVetoException ) { if ( m_bPreventClose ) @@ -280,10 +280,10 @@ void SAL_CALL SfxClosePreventer_Impl::queryClosing( const lang::EventObject& aEv } } -void SAL_CALL SfxClosePreventer_Impl::notifyClosing( const lang::EventObject& aEvent ) throw ( uno::RuntimeException ) +void SAL_CALL SfxClosePreventer_Impl::notifyClosing( const lang::EventObject& ) throw ( uno::RuntimeException ) {} -void SAL_CALL SfxClosePreventer_Impl::disposing( const lang::EventObject& aEvent ) throw ( uno::RuntimeException ) +void SAL_CALL SfxClosePreventer_Impl::disposing( const lang::EventObject& ) throw ( uno::RuntimeException ) {} //========================================================================= @@ -495,7 +495,6 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) rReq.AppendItem( SfxBoolItem( nId, bSet ) ); rReq.Done(); return; - break; } case SID_VERSION: { @@ -518,7 +517,6 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) pDlg->Execute(); delete pDlg; return; - break; } //REMOVE case SID_LOAD_LIBRARY: @@ -1411,7 +1409,7 @@ void SfxObjectShell::ExecView_Impl(SfxRequest &rReq) //-------------------------------------------------------------------- -void SfxObjectShell::StateView_Impl(SfxItemSet &rSet) +void SfxObjectShell::StateView_Impl(SfxItemSet& /*rSet*/) { } -- cgit