shell/source/backends/macbe/macbackend.mm |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 77f77c57d336ba041faf51e2168372d1e0962a19
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Thu Jun 29 23:38:00 2017 +0200

    loplugin:oncevar
    
    Change-Id: I62fbef4959390161509e20a41f687a967db6c2fe

diff --git a/shell/source/backends/macbe/macbackend.mm 
b/shell/source/backends/macbe/macbackend.mm
index 9c9103c5cfcb..a8551428817b 100644
--- a/shell/source/backends/macbe/macbackend.mm
+++ b/shell/source/backends/macbe/macbackend.mm
@@ -327,10 +327,9 @@ css::uno::Any MacOSXBackend::getPropertyValue(
     } else if ( PropertyName == "ooInetProxyType" )
     {
         // override default for ProxyType, which is "0" meaning "No proxies".
-        sal_Int32 nProperties = 1;
         return css::uno::makeAny(
             css::beans::Optional< css::uno::Any >(
-                true, uno::makeAny( nProperties ) ) );
+                true, uno::makeAny( sal_Int32(1) ) ) );
     } else if ( PropertyName == "ooInetNoProxy" )
     {
         rtl::OUString aProxyBypassList;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to