diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2010-11-08 17:39:47 +0100 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2010-11-08 17:39:47 +0100 |
commit | 21e267bdf40111fddbf22e01b979b3ef609f336d (patch) | |
tree | ddb2a8baf0113469ab32a30d9bad0c6e4b83b0b0 /shell | |
parent | 2f88fe616355627c2c8ee9aeb557c74f6844291e (diff) | |
parent | 3f9116d1fd1095b35ca3099eba0d06807f4721bc (diff) |
CWS-TOOLING: integrate CWS os143
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/win32/simplemail/senddoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/simplemail/senddoc.cxx b/shell/source/win32/simplemail/senddoc.cxx index 42f5b9e244..b904902ee4 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(); |