summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 )