diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 12:48:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 12:48:44 +0200 |
commit | 2fc4a8c8113b1bf78258845ed06662a07996a6af (patch) | |
tree | db055018db2d6190438b451444f337215a76917f /basic | |
parent | 7ea8046c741c8b7b608f26e312cc5f1056752c09 (diff) |
Add support for cppu::UnoType<void>
Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/propacc.cxx | 2 | ||||
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx index f298e42c1007..281ee8d3b906 100644 --- a/basic/source/classes/propacc.cxx +++ b/basic/source/classes/propacc.cxx @@ -231,7 +231,7 @@ SbPropertySetInfo::SbPropertySetInfo( const SbPropertyValueArr_Impl &rPropVals ) const PropertyValue &rPropVal = rPropVals[n]; rProp.Name = rPropVal.Name; rProp.Handle = rPropVal.Handle; - rProp.Type = cppu::UnoType<cppu::UnoVoidType>::get(); + rProp.Type = cppu::UnoType<void>::get(); rProp.Attributes = 0; } } diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 13da041c26fe..9c39792d25d1 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -831,7 +831,7 @@ void unoToSbxValue( SbxVariable* pVar, const Any& aValue ) // Deliver the reflection for Sbx types Type getUnoTypeForSbxBaseType( SbxDataType eType ) { - Type aRetType = cppu::UnoType<UnoVoidType>::get(); + Type aRetType = cppu::UnoType<void>::get(); switch( eType ) { case SbxNULL: aRetType = cppu::UnoType<XInterface>::get(); break; @@ -867,7 +867,7 @@ Type getUnoTypeForSbxBaseType( SbxDataType eType ) // Converting of Sbx to Uno without a know target class for TypeClass_ANY Type getUnoTypeForSbxValue( const SbxValue* pVal ) { - Type aRetType = cppu::UnoType<cppu::UnoVoidType>::get(); + Type aRetType = cppu::UnoType<void>::get(); if( !pVal ) return aRetType; |