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>
This commit is contained in:
Stephan Bergmann
2022-05-04 22:32:24 +02:00
parent fe61ab648e
commit baf8ce5955
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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 )