summaryrefslogtreecommitdiff
path: root/shell/source/backends
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-03 14:04:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-03 14:04:11 +0200
commit6507c0271f081d93ddf68dac25abfe4bd46f0554 (patch)
treeee78c719b4f8af721e77719dcd8f92f7ccc62e0d /shell/source/backends
parenta3bb6af1c2520b4bbb98a49bd7beed497d2d08b1 (diff)
loplugin:oncevar (clang-cl): shell
Change-Id: I594596f27aa6f223d2294586357b11595377e1fe
Diffstat (limited to 'shell/source/backends')
-rw-r--r--shell/source/backends/wininetbe/wininetbackend.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/source/backends/wininetbe/wininetbackend.cxx b/shell/source/backends/wininetbe/wininetbackend.cxx
index cfc7787f4c67..d6af801ad9b0 100644
--- a/shell/source/backends/wininetbe/wininetbackend.cxx
+++ b/shell/source/backends/wininetbe/wininetbackend.cxx
@@ -166,10 +166,8 @@ WinInetBackend::WinInetBackend()
OUString aProxyBypassList = OUString::createFromAscii( lpi->lpszProxyBypass );
// override default for ProxyType, which is "0" meaning "No proxies".
- sal_Int32 nProperties = 1;
-
valueProxyType_.IsPresent = true;
- valueProxyType_.Value <<= nProperties;
+ valueProxyType_.Value <<= sal_Int32(1);
// fill proxy bypass list
if( aProxyBypassList.getLength() > 0 )