diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-05-03 23:19:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-05-04 06:54:00 +0200 |
commit | b34f6f3b5ae6b889fbfd84719ee255282cb45e0e (patch) | |
tree | d5e2099bf23add1e03fdd30c2dc2b79efff18fea | |
parent | ca34204a39716ec9aa621e60ea50fb3c058c55f6 (diff) |
Just use Any ctor instead of makeAny in shell
Change-Id: I08f061d2d7feda582cd2495ac4b11d2ac0a6bbc2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133782
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | shell/source/backends/wininetbe/wininetbackend.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/shell/source/backends/wininetbe/wininetbackend.cxx b/shell/source/backends/wininetbe/wininetbackend.cxx index cc1111059e3e..71de3b135b4c 100644 --- a/shell/source/backends/wininetbe/wininetbackend.cxx +++ b/shell/source/backends/wininetbe/wininetbackend.cxx @@ -309,28 +309,28 @@ css::uno::Any WinInetBackend::getPropertyValue( { if ( PropertyName == "ooInetFTPProxyName" ) { - return css::uno::makeAny(valueFtpProxyName_); + return css::uno::Any(valueFtpProxyName_); } else if ( PropertyName == "ooInetFTPProxyPort" ) { - return css::uno::makeAny(valueFtpProxyPort_); + return css::uno::Any(valueFtpProxyPort_); } else if ( PropertyName == "ooInetHTTPProxyName" ) { - return css::uno::makeAny(valueHttpProxyName_); + return css::uno::Any(valueHttpProxyName_); } else if ( PropertyName == "ooInetHTTPProxyPort" ) { - return css::uno::makeAny(valueHttpProxyPort_); + return css::uno::Any(valueHttpProxyPort_); } else if ( PropertyName == "ooInetHTTPSProxyName" ) { - return css::uno::makeAny(valueHttpsProxyName_); + return css::uno::Any(valueHttpsProxyName_); } else if ( PropertyName == "ooInetHTTPSProxyPort" ) { - return css::uno::makeAny(valueHttpsProxyPort_); + return css::uno::Any(valueHttpsProxyPort_); } else if ( PropertyName == "ooInetNoProxy" ) { - return css::uno::makeAny(valueNoProxy_); + return css::uno::Any(valueNoProxy_); } else if ( PropertyName == "ooInetProxyType" ) { - return css::uno::makeAny(valueProxyType_); + return css::uno::Any(valueProxyType_); } else { throw css::beans::UnknownPropertyException( PropertyName, static_cast< cppu::OWeakObject * >(this)); |