From 83721f4365d234b62f9e3517345c8d3fda19f2c6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 3 Feb 2017 08:54:47 +0200 Subject: makeAny->Any in basctl..chart2 Change-Id: Ief1cdffbfc59ab4e35ac945d020772ff84c50d61 Reviewed-on: https://gerrit.libreoffice.org/33867 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basic/source/uno/scriptcont.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basic/source/uno/scriptcont.cxx') diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx index 07f8935595e5..d78242de70fc 100644 --- a/basic/source/uno/scriptcont.cxx +++ b/basic/source/uno/scriptcont.cxx @@ -673,7 +673,7 @@ bool SfxScriptLibraryContainer::implStorePasswordLibrary( SfxLibrary* pLib, cons throw uno::RuntimeException(); } OUString aMime( "text/xml" ); - xProps->setPropertyValue("MediaType", uno::makeAny( aMime ) ); + xProps->setPropertyValue("MediaType", uno::Any( aMime ) ); // Set encryption key setStreamKey( xSourceStream, pLib->maPassword ); @@ -818,7 +818,7 @@ bool SfxScriptLibraryContainer::implStorePasswordLibrary( SfxLibrary* pLib, cons throw uno::RuntimeException(); } OUString aMime( "text/xml" ); - xProps->setPropertyValue("MediaType", uno::makeAny( aMime ) ); + xProps->setPropertyValue("MediaType", uno::Any( aMime ) ); Reference< XOutputStream > xOut = xSourceStream->getOutputStream(); Reference< XNameContainer > xLib( pLib ); -- cgit v1.2.1