summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 13:08:36 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 13:08:36 +0000
commite80b4c6792b4cfd81d89addd708baaefaa78deb5 (patch)
tree1af08e5bee2e2257f5817cd3bf6bb7b879c25189 /unotools
parent59dfafa4ae9f6bdfe24b901f9b3ccc40500f0bc8 (diff)
INTEGRATION: CWS warnings01 (1.3.6); FILE MERGED
2006/04/07 17:53:21 sb 1.3.6.3: RESYNC: (1.3-1.4); FILE MERGED 2005/11/10 13:17:02 pl 1.3.6.2: #i53898# removed warnings 2005/11/10 13:13:14 pl 1.3.6.1: #i53898# removed warnings
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/misc/sharedunocomponent.cxx22
1 files changed, 17 insertions, 5 deletions
diff --git a/unotools/source/misc/sharedunocomponent.cxx b/unotools/source/misc/sharedunocomponent.cxx
index cebdca8fd18b..ebdebdd91b4d 100644
--- a/unotools/source/misc/sharedunocomponent.cxx
+++ b/unotools/source/misc/sharedunocomponent.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sharedunocomponent.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: vg $ $Date: 2006-03-14 11:38:52 $
+ * last change: $Author: hr $ $Date: 2006-06-19 14:08:36 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -202,7 +202,11 @@ namespace utl
}
//--------------------------------------------------------------------
- void SAL_CALL CloseableComponentImpl::queryClosing( const EventObject& Source, ::sal_Bool GetsOwnership ) throw (CloseVetoException, RuntimeException)
+ void SAL_CALL CloseableComponentImpl::queryClosing( const EventObject&
+ #ifdef DBG_UTIL
+ Source
+ #endif
+ , ::sal_Bool /*GetsOwnership*/ ) throw (CloseVetoException, RuntimeException)
{
// as long as we live, somebody wants to keep the object alive. So, veto the
// closing
@@ -211,7 +215,11 @@ namespace utl
}
//--------------------------------------------------------------------
- void SAL_CALL CloseableComponentImpl::notifyClosing( const EventObject& Source ) throw (RuntimeException)
+ void SAL_CALL CloseableComponentImpl::notifyClosing( const EventObject&
+ #ifdef DBG_UTIL
+ Source
+ #endif
+ ) throw (RuntimeException)
{
DBG_ASSERT( Source.Source == m_xCloseable, "CloseableComponentImpl::notifyClosing: where did this come from?" );
@@ -222,7 +230,11 @@ namespace utl
}
//--------------------------------------------------------------------
- void SAL_CALL CloseableComponentImpl::disposing( const EventObject& Source ) throw (RuntimeException)
+ void SAL_CALL CloseableComponentImpl::disposing( const EventObject&
+ #ifdef DBG_UTIL
+ Source
+ #endif
+ ) throw (RuntimeException)
{
DBG_ASSERT( Source.Source == m_xCloseable, "CloseableComponentImpl::disposing: where did this come from?" );
DBG_ERROR( "CloseableComponentImpl::disposing: unreachable!" );