diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-04-23 15:57:46 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-04-23 15:57:46 +0000 |
commit | 89b5f0f9c267fbc6f34827e9d674b231d956418d (patch) | |
tree | e747d0bda6f1a6c53898d2fb2b7372a7bef014b7 /basic/source/inc/sbunoobj.hxx | |
parent | ea91d5fb035a83ee08613ec741b4c56ded77da06 (diff) |
INTEGRATION: CWS uno2 (1.5.38); FILE MERGED
2003/04/08 09:18:41 ab 1.5.38.1: #108496# Moved class SbUnoAnyObject here
Diffstat (limited to 'basic/source/inc/sbunoobj.hxx')
-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 |