INTEGRATION: CWS sdksample (1.3.124); FILE MERGED
2004/08/05 12:36:43 jsc 1.3.124.1: #i29308# use static_casat to remove new warning fromMS .NET 2003 compiler
This commit is contained in:
parent
f5599ef364
commit
67b84f9e2d
1 changed files with 3 additions and 3 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: counter.cxx,v $
|
||||
*
|
||||
* $Revision: 1.3 $
|
||||
* $Revision: 1.4 $
|
||||
*
|
||||
* last change: $Author: hr $ $Date: 2003-06-30 15:52:53 $
|
||||
* last change: $Author: rt $ $Date: 2005-01-31 17:06:40 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* the BSD license.
|
||||
|
@ -180,7 +180,7 @@ Sequence<OUString> SAL_CALL MyCounterImpl::getSupportedServiceNames_Static( )
|
|||
Reference< XInterface > SAL_CALL MyCounterImpl_create(
|
||||
const Reference< XMultiServiceFactory > & xMgr )
|
||||
{
|
||||
return Reference< XCountable >( new MyCounterImpl( xMgr ) );
|
||||
return Reference<XInterface>(static_cast<XCountable*>(new MyCounterImpl(xMgr)));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue