summaryrefslogtreecommitdiff
path: root/binaryurp/source/bridge.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'binaryurp/source/bridge.cxx')
-rw-r--r--binaryurp/source/bridge.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/binaryurp/source/bridge.cxx b/binaryurp/source/bridge.cxx
index 191ca4dc087f..9a02085b3182 100644
--- a/binaryurp/source/bridge.cxx
+++ b/binaryurp/source/bridge.cxx
@@ -622,10 +622,9 @@ void Bridge::sendRequestChangeRequest() {
assert(mode_ == MODE_REQUESTED);
random_ = random();
std::vector< BinaryAny > a;
- a.push_back(
- BinaryAny(
+ a.emplace_back(
css::uno::TypeDescription(cppu::UnoType< sal_Int32 >::get()),
- &random_));
+ &random_);
sendProtPropRequest(OutgoingRequest::KIND_REQUEST_CHANGE, a);
}
@@ -865,10 +864,9 @@ css::uno::Reference< css::uno::XInterface > Bridge::getInstance(
css::uno::TypeDescription ifc(cppu::UnoType<css::uno::XInterface>::get());
typelib_TypeDescription * p = ifc.get();
std::vector< BinaryAny > inArgs;
- inArgs.push_back(
- BinaryAny(
+ inArgs.emplace_back(
css::uno::TypeDescription(cppu::UnoType< css::uno::Type >::get()),
- &p));
+ &p);
BinaryAny ret;
std::vector< BinaryAny> outArgs;
bool bExc = makeCall(