shell/source/backends/wininetbe/wininetbackend.cxx |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

New commits:
commit b34f6f3b5ae6b889fbfd84719ee255282cb45e0e
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue May 3 23:19:33 2022 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Wed May 4 06:54:00 2022 +0200

    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 <sberg...@redhat.com>

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));

Reply via email to