From 77f77c57d336ba041faf51e2168372d1e0962a19 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 29 Jun 2017 23:38:00 +0200 Subject: loplugin:oncevar Change-Id: I62fbef4959390161509e20a41f687a967db6c2fe --- shell/source/backends/macbe/macbackend.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'shell/source') 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; -- cgit