summaryrefslogtreecommitdiff
path: root/svx/source/xml/xmlxtexp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-03 17:01:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-03 21:48:15 +0200
commit1d2b6b709e81eec8600118b3402d82707aa113bc (patch)
tree09dce9cc095e37c3c5a18d81ca3afebba546ae4c /svx/source/xml/xmlxtexp.cxx
parentca734f7cfa55814a85d5940e5f64d7c53638f6a7 (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'svx/source/xml/xmlxtexp.cxx')
-rw-r--r--svx/source/xml/xmlxtexp.cxx4
1 files changed, 2 insertions, 2 deletions
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");