diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-03 14:04:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-03 14:04:11 +0200 |
commit | 6507c0271f081d93ddf68dac25abfe4bd46f0554 (patch) | |
tree | ee78c719b4f8af721e77719dcd8f92f7ccc62e0d /shell/source | |
parent | a3bb6af1c2520b4bbb98a49bd7beed497d2d08b1 (diff) |
loplugin:oncevar (clang-cl): shell
Change-Id: I594596f27aa6f223d2294586357b11595377e1fe
Diffstat (limited to 'shell/source')
-rw-r--r-- | shell/source/backends/wininetbe/wininetbackend.cxx | 4 | ||||
-rw-r--r-- | shell/source/win32/simplemail/senddoc.cxx | 2 |
2 files changed, 2 insertions, 4 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 ) diff --git a/shell/source/win32/simplemail/senddoc.cxx b/shell/source/win32/simplemail/senddoc.cxx index 1b0327dc18c8..bd78f26e5635 100644 --- a/shell/source/win32/simplemail/senddoc.cxx +++ b/shell/source/win32/simplemail/senddoc.cxx @@ -264,7 +264,7 @@ int main(int argc, char* argv[]) // selection dialog must appear because we specify no // profile name, so the user has to specify a profile - LHANDLE hSession = 0; + LHANDLE const hSession = 0; MapiRecipDesc mapiOriginator; MapiRecipientList_t mapiRecipientList; |