INTEGRATION: CWS warnings01 (1.12.2); FILE MERGED

2005/11/09 20:54:25 sb 1.12.2.1: #i53898# Avoid warnings about name hiding from template code, when instantiated for certain class arguments.
This commit is contained in:
Jens-Heiner Rechtien 2006-06-19 09:29:53 +00:00
parent 3fa87b0a71
commit d8d727bcd0
3 changed files with 42 additions and 6 deletions

View file

@ -4,9 +4,9 @@
*
* $RCSfile: compbase4.hxx,v $
*
* $Revision: 1.12 $
* $Revision: 1.13 $
*
* last change: $Author: hr $ $Date: 2005-10-27 17:15:07 $
* last change: $Author: hr $ $Date: 2006-06-19 10:29:26 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -48,6 +48,13 @@ __DEF_COMPIMPLHELPER_EX( 4 )
namespace cppu
{
// Suppress warnings about hidden functions in case any of the IfcN has
// functions named dispose, addEventListener, or removeEventListener:
#if defined __SUNPRO_CC
#pragma disable_warn
#endif
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.
@ -91,6 +98,11 @@ namespace cppu
virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException)
{ return ImplHelper_getImplementationId( cd::get() ); }
};
#if defined __SUNPRO_CC
#pragma enable_warn
#endif
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.

View file

@ -4,9 +4,9 @@
*
* $RCSfile: compbase5.hxx,v $
*
* $Revision: 1.12 $
* $Revision: 1.13 $
*
* last change: $Author: hr $ $Date: 2005-10-27 17:15:20 $
* last change: $Author: hr $ $Date: 2006-06-19 10:29:38 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -48,6 +48,13 @@ __DEF_COMPIMPLHELPER_EX( 5 )
namespace cppu
{
// Suppress warnings about hidden functions in case any of the IfcN has
// functions named dispose, addEventListener, or removeEventListener:
#if defined __SUNPRO_CC
#pragma disable_warn
#endif
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.
@ -91,6 +98,11 @@ namespace cppu
virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException)
{ return ImplHelper_getImplementationId( cd::get() ); }
};
#if defined __SUNPRO_CC
#pragma enable_warn
#endif
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.

View file

@ -4,9 +4,9 @@
*
* $RCSfile: compbase6.hxx,v $
*
* $Revision: 1.12 $
* $Revision: 1.13 $
*
* last change: $Author: hr $ $Date: 2005-10-27 17:15:42 $
* last change: $Author: hr $ $Date: 2006-06-19 10:29:53 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -48,6 +48,13 @@ __DEF_COMPIMPLHELPER_EX( 6 )
namespace cppu
{
// Suppress warnings about hidden functions in case any of the IfcN has
// functions named dispose, addEventListener, or removeEventListener:
#if defined __SUNPRO_CC
#pragma disable_warn
#endif
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.
@ -91,6 +98,11 @@ namespace cppu
virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException)
{ return ImplHelper_getImplementationId( cd::get() ); }
};
#if defined __SUNPRO_CC
#pragma enable_warn
#endif
/** Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.