[Libreoffice-commits] core.git: shell/source
Stephan Bergmann
sbergman at redhat.com
Thu Jun 29 21:38:26 UTC 2017
shell/source/backends/macbe/macbackend.mm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 77f77c57d336ba041faf51e2168372d1e0962a19
Author: Stephan Bergmann <sbergman at 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;
More information about the Libreoffice-commits
mailing list