summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-04 22:32:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-05 07:12:19 +0200
commitbaf8ce5955c6e20fe730b33093b704a6eb377d18 (patch)
tree3f5c2f6a737e32b7065e7fc7f81033351da109da /canvas
parentfe61ab648e0f3b5993660f2255aca2de6f53c2a2 (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/inc/base/bufferedgraphicdevicebase.hxx2
-rw-r--r--canvas/inc/base/graphicdevicebase.hxx2
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 )