From bca714272483c0657934334d4ef142dd06d90435 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Tue, 20 Jun 2006 04:56:14 +0000 Subject: INTEGRATION: CWS warnings01 (1.5.10); FILE MERGED 2005/10/28 16:15:30 pl 1.5.10.2: #i55991# removed warnings for solaris platform 2005/10/21 16:25:15 pl 1.5.10.1: #i55991# removed warnings for linux platform --- sot/source/sdstor/unostorageholder.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sot/source/sdstor/unostorageholder.cxx b/sot/source/sdstor/unostorageholder.cxx index f02980a956bd..d1c921c49182 100644 --- a/sot/source/sdstor/unostorageholder.cxx +++ b/sot/source/sdstor/unostorageholder.cxx @@ -4,9 +4,9 @@ * * $RCSfile: unostorageholder.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: rt $ $Date: 2005-09-08 07:44:38 $ + * last change: $Author: hr $ $Date: 2006-06-20 05:56:14 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -111,14 +111,14 @@ String UNOStorageHolder::GetStorageName() return String(); } -void SAL_CALL UNOStorageHolder::preCommit( const lang::EventObject& aEvent ) +void SAL_CALL UNOStorageHolder::preCommit( const lang::EventObject& /*aEvent*/ ) throw ( uno::Exception, uno::RuntimeException ) { // do nothing } -void SAL_CALL UNOStorageHolder::commited( const lang::EventObject& aEvent ) +void SAL_CALL UNOStorageHolder::commited( const lang::EventObject& /*aEvent*/ ) throw ( uno::RuntimeException ) { ::utl::TempFile aTmpStorFile; @@ -157,7 +157,7 @@ void SAL_CALL UNOStorageHolder::commited( const lang::EventObject& aEvent ) SvStorageInfoList aSubStorInfoList; m_rSotStorage->FillInfoList( &aSubStorInfoList ); - for ( sal_Int32 nInd = 0; nInd < aSubStorInfoList.Count(); nInd++ ) + for ( sal_uInt32 nInd = 0; nInd < aSubStorInfoList.Count(); nInd++ ) { m_rSotStorage->Remove( aSubStorInfoList[nInd].GetName() ); if ( m_rSotStorage->GetError() ) @@ -178,21 +178,21 @@ void SAL_CALL UNOStorageHolder::commited( const lang::EventObject& aEvent ) m_rSotStorage->Commit(); } -void SAL_CALL UNOStorageHolder::preRevert( const lang::EventObject& aEvent ) +void SAL_CALL UNOStorageHolder::preRevert( const lang::EventObject& /*aEvent*/ ) throw ( uno::Exception, uno::RuntimeException ) { // do nothing } -void SAL_CALL UNOStorageHolder::reverted( const lang::EventObject& aEvent ) +void SAL_CALL UNOStorageHolder::reverted( const lang::EventObject& /*aEvent*/ ) throw ( uno::RuntimeException ) { // do nothing, since reverting of the duplicate storage just means // not to copy changes done for it to the original storage } -void SAL_CALL UNOStorageHolder::disposing( const lang::EventObject& Source ) +void SAL_CALL UNOStorageHolder::disposing( const lang::EventObject& /*Source*/ ) throw ( uno::RuntimeException ) { if ( m_pTempFile ) -- cgit