From 198c41c4fe8be4ce8a6ddab43ae0c5f17a4889ac Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 24 Feb 2017 11:22:18 +0200 Subject: new loplugin unoany Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89 Reviewed-on: https://gerrit.libreoffice.org/34714 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/source/ui/framework/factories/FullScreenPane.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sd/source/ui/framework') diff --git a/sd/source/ui/framework/factories/FullScreenPane.cxx b/sd/source/ui/framework/factories/FullScreenPane.cxx index ec9a875076bd..a92f734adce5 100644 --- a/sd/source/ui/framework/factories/FullScreenPane.cxx +++ b/sd/source/ui/framework/factories/FullScreenPane.cxx @@ -162,7 +162,7 @@ void SAL_CALL FullScreenPane::setAccessible ( if (pParentWindow != nullptr) xAccessibleParent = pParentWindow->GetAccessible(); Sequence aArguments (1); - aArguments[0] = Any(xAccessibleParent); + aArguments[0] <<= xAccessibleParent; xInitializable->initialize(aArguments); } GetWindow()->SetAccessible(rxAccessible); @@ -196,11 +196,11 @@ Reference FullScreenPane::CreateCanvas() Sequence aArg (5); // common: first any is VCL pointer to window (for VCL canvas) - aArg[0] = makeAny(reinterpret_cast(pWindow.get())); + aArg[0] <<= reinterpret_cast(pWindow.get()); aArg[1] = Any(); - aArg[2] = makeAny(css::awt::Rectangle()); - aArg[3] = makeAny(false); - aArg[4] = makeAny(mxWindow); + aArg[2] <<= css::awt::Rectangle(); + aArg[3] <<= false; + aArg[4] <<= mxWindow; Reference xFactory ( mxComponentContext->getServiceManager(), UNO_QUERY_THROW); -- cgit