diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 10:42:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 10:42:57 +0200 |
commit | 31e24f487e5a4e917bb35fd396cf9f3ad84982a8 (patch) | |
tree | 6e4cbfcd49a8fed02847b8c7719759e09260cf7c /binaryurp/source | |
parent | 3e672693e35e720177eac98094c42570fca9cfbb (diff) |
Remove redundant Reference<> from within UnoType<> uses
Change-Id: I1aeb9c73c284e39f371e49ded98e8dba0d055056
Diffstat (limited to 'binaryurp/source')
-rw-r--r-- | binaryurp/source/bridge.cxx | 3 | ||||
-rw-r--r-- | binaryurp/source/reader.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
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<css::uno::XInterface>::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<css::uno::XCurrentContext>::get()); cc.set( *static_cast< uno_Interface ** >( unmarshal.readValue(t).getValue(t))); |