From baf8ce5955c6e20fe730b33093b704a6eb377d18 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 4 May 2022 22:32:24 +0200 Subject: [PATCH] Just use Any ctor instead of makeAny in canvas Change-Id: Iade345e814f2809bead96b228afa925d86057696 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133847 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- canvas/inc/base/bufferedgraphicdevicebase.hxx | 2 +- canvas/inc/base/graphicdevicebase.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/canvas/inc/base/bufferedgraphicdevicebase.hxx b/canvas/inc/base/bufferedgraphicdevicebase.hxx index 4cd604148cce..f07c8de23099 100644 --- a/canvas/inc/base/bufferedgraphicdevicebase.hxx +++ b/canvas/inc/base/bufferedgraphicdevicebase.hxx @@ -154,7 +154,7 @@ namespace canvas css::uno::Any getXWindow() const { - return css::uno::makeAny(mxWindow); + return css::uno::Any(mxWindow); } virtual void disposeThis() override diff --git a/canvas/inc/base/graphicdevicebase.hxx b/canvas/inc/base/graphicdevicebase.hxx index 6045d32f3b30..03aec9a85203 100644 --- a/canvas/inc/base/graphicdevicebase.hxx +++ b/canvas/inc/base/graphicdevicebase.hxx @@ -325,7 +325,7 @@ namespace canvas css::uno::Any getDumpScreenContent() const { - return css::uno::makeAny( mbDumpScreenContent ); + return css::uno::Any( mbDumpScreenContent ); } void setDumpScreenContent( const css::uno::Any& rAny )