diff options
author | sb <sb@openoffice.org> | 2010-11-19 11:35:41 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-11-19 11:35:41 +0100 |
commit | ee0b907a8e54d6ba80551a24415d173d4d5b2db1 (patch) | |
tree | e69f3b3e38aa3a0d1f10e9cedbaf1e59dba205c9 /shell | |
parent | 10ab6463a189a22b6059a2fafeed414ef50dbf1c (diff) | |
parent | 94753953df87e4d761ff9fa30333dc02994f6d3f (diff) |
sb131: merged in re/DEV300_next towards DEV300_m94
Diffstat (limited to 'shell')
-rwxr-xr-x | shell/qa/makefile.mk | 2 | ||||
-rw-r--r-- | shell/source/win32/simplemail/senddoc.cxx | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/shell/qa/makefile.mk b/shell/qa/makefile.mk index cc91a6b1ad5c..290798bab18e 100755 --- a/shell/qa/makefile.mk +++ b/shell/qa/makefile.mk @@ -28,8 +28,6 @@ PRJ=.. PRJNAME=shell TARGET=qa -# this is removed at the moment because we need some enhancements -# TESTDIR=TRUE ENABLE_EXCEPTIONS=TRUE diff --git a/shell/source/win32/simplemail/senddoc.cxx b/shell/source/win32/simplemail/senddoc.cxx index c8ac40799cea..bb743960afc5 100644 --- a/shell/source/win32/simplemail/senddoc.cxx +++ b/shell/source/win32/simplemail/senddoc.cxx @@ -170,7 +170,7 @@ void initMapiMessage( pMapiMessage->lpszSubject = const_cast<char*>(gSubject.c_str()); pMapiMessage->lpszNoteText = (gBody.length() ? const_cast<char*>(gBody.c_str()) : NULL); pMapiMessage->lpOriginator = aMapiOriginator; - pMapiMessage->lpRecips = &aMapiRecipientList[0]; + pMapiMessage->lpRecips = aMapiRecipientList.size() ? &aMapiRecipientList[0] : 0; pMapiMessage->nRecipCount = aMapiRecipientList.size(); pMapiMessage->lpFiles = &aMapiAttachmentList[0]; pMapiMessage->nFileCount = aMapiAttachmentList.size(); |