diff options
-rw-r--r-- | basic/source/inc/sbunoobj.hxx | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/basic/source/inc/sbunoobj.hxx b/basic/source/inc/sbunoobj.hxx index e5f4b2ec07d0..3e48106811f6 100644 --- a/basic/source/inc/sbunoobj.hxx +++ b/basic/source/inc/sbunoobj.hxx @@ -2,9 +2,9 @@ * * $RCSfile: sbunoobj.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: ab $ $Date: 2002-12-12 16:46:57 $ + * last change: $Author: rt $ $Date: 2003-04-23 16:57:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -217,6 +217,24 @@ SV_DECL_IMPL_REF(SbUnoClass); SbxVariable* findUnoClass( const String& rName ); +// #105565 Special Object to wrap a strongly typed Uno Any +class SbUnoAnyObject: public SbxObject +{ + Any mVal; + +public: + SbUnoAnyObject( const Any& rVal ) + : SbxObject( String() ) + , mVal( rVal ) + {} + + const Any& getValue( void ) + { return mVal; } + + TYPEINFO(); +}; + + class StarBASIC; // Impl-Methoden fuer RTL |