clang-tidy: performance-unnecessary-copy-initialization in binaryurp
Change-Id: I8af73afaf063294786890a71abe97add283289a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176390 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
This commit is contained in:
parent
cc70c63f8f
commit
aa48441b0b
1 changed files with 1 additions and 2 deletions
|
@ -41,9 +41,8 @@ css::uno::UnoInterfaceReference get() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void set(css::uno::UnoInterfaceReference const & value) {
|
void set(css::uno::UnoInterfaceReference const & value) {
|
||||||
css::uno::UnoInterfaceReference cc(value);
|
|
||||||
if (!uno_setCurrentContext(
|
if (!uno_setCurrentContext(
|
||||||
cc.m_pUnoI,
|
value.m_pUnoI,
|
||||||
u"" UNO_LB_UNO ""_ustr.pData, nullptr))
|
u"" UNO_LB_UNO ""_ustr.pData, nullptr))
|
||||||
{
|
{
|
||||||
throw css::uno::RuntimeException(u"uno_setCurrentContext failed"_ustr);
|
throw css::uno::RuntimeException(u"uno_setCurrentContext failed"_ustr);
|
||||||
|
|
Loading…
Reference in a new issue