summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/source/backends/wininetbe/wininetbackend.cxx4
-rw-r--r--shell/source/win32/simplemail/senddoc.cxx2
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;