From 1d2b6b709e81eec8600118b3402d82707aa113bc Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 3 May 2022 17:01:57 +0200 Subject: Just use Any ctor instead of makeAny in svx Change-Id: I59b1b3f817a9028f132456ea5094f38f88674d00 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133768 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- svx/source/xml/xmlxtexp.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svx/source/xml/xmlxtexp.cxx') diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx index 2fcc46d89197..103752b0573f 100644 --- a/svx/source/xml/xmlxtexp.cxx +++ b/svx/source/xml/xmlxtexp.cxx @@ -172,10 +172,10 @@ static void initializeStreamMetadata( const uno::Reference< uno::XInterface > &x try { - xProps->setPropertyValue("MediaType", uno::makeAny( OUString( "text/xml" ) ) ); + xProps->setPropertyValue("MediaType", uno::Any( OUString( "text/xml" ) ) ); // use stock encryption - xProps->setPropertyValue("UseCommonStoragePasswordEncryption", uno::makeAny( true ) ); + xProps->setPropertyValue("UseCommonStoragePasswordEncryption", uno::Any( true ) ); } catch ( const uno::Exception & ) { TOOLS_WARN_EXCEPTION("svx", "exception setting stream metadata"); -- cgit