add declaration of unoToSbxValue to header instead of in several cxx files

This commit is contained in:
Gregor Hartmann<gh
2010-04-16 14:10:50 +02:00
parent 6de19ad740
commit 3a8d3af3d9
4 changed files with 5 additions and 8 deletions

View File

@@ -41,5 +41,7 @@ void createAllObjectProperties( SbxObject* pObj );
::com::sun::star::uno::Any sbxToUnoValue( SbxVariable* pVar ); ::com::sun::star::uno::Any sbxToUnoValue( SbxVariable* pVar );
void unoToSbxValue( SbxVariable* pVar, const ::com::sun::star::uno::Any& aValue );
#endif #endif

View File

@@ -62,6 +62,7 @@
#include <sbunoobj.hxx> #include <sbunoobj.hxx>
#include <basic/sbstar.hxx> #include <basic/sbstar.hxx>
#include <basic/sbmeth.hxx> #include <basic/sbmeth.hxx>
#include <basic/sbuno.hxx>
#include <runtime.hxx> #include <runtime.hxx>
#include <sbintern.hxx> #include <sbintern.hxx>
@@ -85,11 +86,6 @@ using namespace ::osl;
//===================================================================
void unoToSbxValue( SbxVariable* pVar, const Any& aValue );
Any sbxToUnoValue( SbxVariable* pVar );
Reference< frame::XModel > getModelFromBasic( SbxObject* pBasic ) Reference< frame::XModel > getModelFromBasic( SbxObject* pBasic )
{ {
OSL_PRECOND( pBasic != NULL, "getModelFromBasic: illegal call!" ); OSL_PRECOND( pBasic != NULL, "getModelFromBasic: illegal call!" );

View File

@@ -564,7 +564,7 @@ SbxDataType unoToSbxType( const Reference< XIdlClass >& xIdlClass )
} }
return eRetType; return eRetType;
} }
void unoToSbxValue( SbxVariable* pVar, const Any& aValue );
static void implSequenceToMultiDimArray( SbxDimArray*& pArray, Sequence< sal_Int32 >& indices, Sequence< sal_Int32 >& sizes, const Any& aValue, sal_Int32& dimension, sal_Bool bIsZeroIndex, Type* pType = NULL ) static void implSequenceToMultiDimArray( SbxDimArray*& pArray, Sequence< sal_Int32 >& indices, Sequence< sal_Int32 >& sizes, const Any& aValue, sal_Int32& dimension, sal_Bool bIsZeroIndex, Type* pType = NULL )
{ {
Type aType = aValue.getValueType(); Type aType = aValue.getValueType();

View File

@@ -30,6 +30,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <rtl/math.hxx> #include <rtl/math.hxx>
#include <basic/sbuno.hxx>
#include "runtime.hxx" #include "runtime.hxx"
#include "sbintern.hxx" #include "sbintern.hxx"
#include "iosys.hxx" #include "iosys.hxx"
@@ -230,8 +231,6 @@ void SbiRuntime::StepRETURN( UINT32 nOp1 )
// FOR-Variable testen (+Endlabel) // FOR-Variable testen (+Endlabel)
void unoToSbxValue( SbxVariable* pVar, const Any& aValue );
void SbiRuntime::StepTESTFOR( UINT32 nOp1 ) void SbiRuntime::StepTESTFOR( UINT32 nOp1 )
{ {
if( !pForStk ) if( !pForStk )