summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 12:48:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 12:48:44 +0200
commit2fc4a8c8113b1bf78258845ed06662a07996a6af (patch)
treedb055018db2d6190438b451444f337215a76917f /stoc
parent7ea8046c741c8b7b608f26e312cc5f1056752c09 (diff)
Add support for cppu::UnoType<void>
Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/inspect/introspection.cxx2
-rw-r--r--stoc/test/testconv.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index f30043bc650d..c5d68e0fd8ad 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -2320,7 +2320,7 @@ css::uno::Reference<css::beans::XIntrospectionAccess> Implementation::inspect(
css::uno::Reference<css::reflection::XIdlClass>
xListenerClass(
reflection_->forName(
- cppu::UnoType<cppu::UnoVoidType>::get()
+ cppu::UnoType<void>::get()
.getTypeName()));
// ALT: Reference<XIdlClass> xListenerClass = Void_getReflection()->getIdlClass();
diff --git a/stoc/test/testconv.cxx b/stoc/test/testconv.cxx
index 66ecd6473600..950a9129f59b 100644
--- a/stoc/test/testconv.cxx
+++ b/stoc/test/testconv.cxx
@@ -632,7 +632,7 @@ static void test_Conversion( const Reference< XMultiServiceFactory > & xMgr )
convertTo( cppu::UnoType<Sequence< sal_Int16 >>::get(), rVal, rBlock._toSeqINT16 );
convertTo( cppu::UnoType<Sequence< Any >>::get(), rVal, rBlock._toSeqAny );
- convertTo( cppu::UnoType<cppu::UnoVoidType>::get(), rVal, sal_True ); // anything converts to void
+ convertTo( cppu::UnoType<void>::get(), rVal, sal_True ); // anything converts to void
}
s_xConverter.clear();