diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-24 11:22:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-28 10:17:47 +0000 |
commit | 198c41c4fe8be4ce8a6ddab43ae0c5f17a4889ac (patch) | |
tree | 041d55126e9770b81f68fadfaaa69e82313786b3 /sd/source/ui/framework | |
parent | d3981b3e8c021ee03a2ca7103a73e56cca18df81 (diff) |
new loplugin unoany
Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89
Reviewed-on: https://gerrit.libreoffice.org/34714
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/framework')
-rw-r--r-- | sd/source/ui/framework/factories/FullScreenPane.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
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<Any> aArguments (1); - aArguments[0] = Any(xAccessibleParent); + aArguments[0] <<= xAccessibleParent; xInitializable->initialize(aArguments); } GetWindow()->SetAccessible(rxAccessible); @@ -196,11 +196,11 @@ Reference<rendering::XCanvas> FullScreenPane::CreateCanvas() Sequence<Any> aArg (5); // common: first any is VCL pointer to window (for VCL canvas) - aArg[0] = makeAny(reinterpret_cast<sal_Int64>(pWindow.get())); + aArg[0] <<= reinterpret_cast<sal_Int64>(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<lang::XMultiServiceFactory> xFactory ( mxComponentContext->getServiceManager(), UNO_QUERY_THROW); |