summaryrefslogtreecommitdiff
path: root/scripting/source/stringresource/stringresource.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-03 23:23:59 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-04 06:55:38 +0200
commit5fc8f8620d0367813d20b9a90ece47f0674996b3 (patch)
tree2ba02f73f506ac5e23a5f588a483bcca97b0d7c0 /scripting/source/stringresource/stringresource.cxx
parentaebfe0e9432e37936bbdd040fe8a0f099a0d22a5 (diff)
Just use Any ctor instead of makeAny in scripting
Change-Id: I611640a6fb7061fbb6a239034f75e006db075989 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133786 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'scripting/source/stringresource/stringresource.cxx')
-rw-r--r--scripting/source/stringresource/stringresource.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx
index df30d8de1eea..e3208321d987 100644
--- a/scripting/source/stringresource/stringresource.cxx
+++ b/scripting/source/stringresource/stringresource.cxx
@@ -867,10 +867,10 @@ void StringResourcePersistenceImpl::implStoreAtStorage
if ( xProps.is() )
{
OUString aPropName("MediaType");
- xProps->setPropertyValue( aPropName, uno::makeAny( OUString("text/plain") ) );
+ xProps->setPropertyValue( aPropName, uno::Any( OUString("text/plain") ) );
aPropName = "UseCommonStoragePasswordEncryption";
- xProps->setPropertyValue( aPropName, uno::makeAny( true ) );
+ xProps->setPropertyValue( aPropName, uno::Any( true ) );
}
Reference< io::XOutputStream > xOutputStream = xElementStream->getOutputStream();