diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-29 23:38:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-29 23:38:00 +0200 |
commit | 77f77c57d336ba041faf51e2168372d1e0962a19 (patch) | |
tree | d09362b7d223217317b76385c18aabe1118291f3 /shell | |
parent | 0ab214536efce0fdecf9a79b58467c5d464c1929 (diff) |
loplugin:oncevar
Change-Id: I62fbef4959390161509e20a41f687a967db6c2fe
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/macbe/macbackend.mm | 3 |
1 files changed, 1 insertions, 2 deletions
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; |