From 31e24f487e5a4e917bb35fd396cf9f3ad84982a8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 1 Apr 2015 10:42:11 +0200 Subject: Remove redundant Reference<> from within UnoType<> uses Change-Id: I1aeb9c73c284e39f371e49ded98e8dba0d055056 --- binaryurp/source/bridge.cxx | 3 +-- binaryurp/source/reader.cxx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'binaryurp') diff --git a/binaryurp/source/bridge.cxx b/binaryurp/source/bridge.cxx index 1037fe2404d4..54214c393dd5 100644 --- a/binaryurp/source/bridge.cxx +++ b/binaryurp/source/bridge.cxx @@ -864,8 +864,7 @@ css::uno::Reference< css::uno::XInterface > Bridge::getInstance( " character"); } } - css::uno::TypeDescription ifc( - cppu::UnoType< css::uno::Reference< css::uno::XInterface > >::get()); + css::uno::TypeDescription ifc(cppu::UnoType::get()); typelib_TypeDescription * p = ifc.get(); std::vector< BinaryAny > inArgs; inArgs.push_back( diff --git a/binaryurp/source/reader.cxx b/binaryurp/source/reader.cxx index 880b1ad99d20..99ad7c41c1e5 100644 --- a/binaryurp/source/reader.cxx +++ b/binaryurp/source/reader.cxx @@ -215,8 +215,7 @@ void Reader::readMessage(Unmarshal & unmarshal) { css::uno::UnoInterfaceReference cc; if (ccMode) { css::uno::TypeDescription t( - cppu::UnoType< css::uno::Reference< css::uno::XCurrentContext > >:: - get()); + cppu::UnoType::get()); cc.set( *static_cast< uno_Interface ** >( unmarshal.readValue(t).getValue(t))); -- cgit