summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:00:54 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:00:54 +0000
commit5b67b5609877bfba79053d9b74f318b5416a964a (patch)
treed45f7ca84ab79aedae0ec5e518457cbc0ac99613 /stoc
parentce1acd126acfbff8d6439ddf96bbdb0b5b23dc47 (diff)
INTEGRATION: CWS warnings01 (1.4.8); FILE MERGED
2005/10/31 14:38:05 sb 1.4.8.1: #i53898# Made code warning-free.
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/corereflection/crbase.cxx12
-rw-r--r--stoc/source/corereflection/crenum.cxx10
2 files changed, 11 insertions, 11 deletions
diff --git a/stoc/source/corereflection/crbase.cxx b/stoc/source/corereflection/crbase.cxx
index e81c895f6ca0..9dc02a8b5a38 100644
--- a/stoc/source/corereflection/crbase.cxx
+++ b/stoc/source/corereflection/crbase.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: crbase.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 07:52:05 $
+ * last change: $Author: hr $ $Date: 2006-06-20 00:00:18 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -165,7 +165,7 @@ void IdlClassImpl::createObject( Any & rObj )
throw(::com::sun::star::uno::RuntimeException)
{
rObj.clear();
- uno_any_destruct( &rObj, cpp_release );
+ uno_any_destruct( &rObj, reinterpret_cast< uno_ReleaseFunc >(cpp_release) );
uno_any_construct( &rObj, 0, getTypeDescr(), 0 );
}
@@ -178,7 +178,7 @@ Sequence< Reference< XIdlClass > > IdlClassImpl::getClasses()
return Sequence< Reference< XIdlClass > >();
}
//__________________________________________________________________________________________________
-Reference< XIdlClass > IdlClassImpl::getClass( const OUString & rName )
+Reference< XIdlClass > IdlClassImpl::getClass( const OUString & )
throw(::com::sun::star::uno::RuntimeException)
{
OSL_ENSURE( sal_False, "### unexpected use!" );
@@ -200,7 +200,7 @@ Sequence< Reference< XIdlClass > > IdlClassImpl::getSuperclasses() throw(::com::
}
// structs
//__________________________________________________________________________________________________
-Reference< XIdlField > IdlClassImpl::getField( const OUString & rName )
+Reference< XIdlField > IdlClassImpl::getField( const OUString & )
throw(::com::sun::star::uno::RuntimeException)
{
return Reference< XIdlField >();
@@ -219,7 +219,7 @@ Uik IdlClassImpl::getUik()
return Uik();
}
//__________________________________________________________________________________________________
-Reference< XIdlMethod > IdlClassImpl::getMethod( const OUString & rName )
+Reference< XIdlMethod > IdlClassImpl::getMethod( const OUString & )
throw(::com::sun::star::uno::RuntimeException)
{
return Reference< XIdlMethod >();
diff --git a/stoc/source/corereflection/crenum.cxx b/stoc/source/corereflection/crenum.cxx
index b9782287c58a..54de7a8ddaab 100644
--- a/stoc/source/corereflection/crenum.cxx
+++ b/stoc/source/corereflection/crenum.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: crenum.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 07:53:01 $
+ * last change: $Author: hr $ $Date: 2006-06-20 00:00:54 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -165,13 +165,13 @@ FieldAccessMode IdlEnumFieldImpl::getAccessMode()
return FieldAccessMode_READONLY;
}
//__________________________________________________________________________________________________
-Any IdlEnumFieldImpl::get( const Any & rObj )
+Any IdlEnumFieldImpl::get( const Any & )
throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException)
{
return Any( &_nValue, getTypeDescr() );
}
//__________________________________________________________________________________________________
-void IdlEnumFieldImpl::set( const Any & rObj, const Any & rValue )
+void IdlEnumFieldImpl::set( const Any &, const Any & )
throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::IllegalAccessException, ::com::sun::star::uno::RuntimeException)
{
throw IllegalAccessException(
@@ -179,7 +179,7 @@ void IdlEnumFieldImpl::set( const Any & rObj, const Any & rValue )
(XWeak *)(OWeakObject *)this );
}
//__________________________________________________________________________________________________
-void IdlEnumFieldImpl::set( Any & rObj, const Any & rValue )
+void IdlEnumFieldImpl::set( Any &, const Any & )
throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::IllegalAccessException, ::com::sun::star::uno::RuntimeException)
{
throw IllegalAccessException(