summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorTino Rachui <tra@openoffice.org>2001-05-25 07:21:23 +0000
committerTino Rachui <tra@openoffice.org>2001-05-25 07:21:23 +0000
commitd0e38687a85e32600be9525ddff505bd954e507a (patch)
tree3da6f665cb0e76cb540ce198392d9600f4656f99 /shell
parent2582178cd1d7ef14d9c942a34aa287105e2f562c (diff)
#87458#fixed bug that did prevent sending mails with attachement
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/simplemail/smplmailclient.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/shell/source/win32/simplemail/smplmailclient.cxx b/shell/source/win32/simplemail/smplmailclient.cxx
index dc230243e895..16368a8dd345 100644
--- a/shell/source/win32/simplemail/smplmailclient.cxx
+++ b/shell/source/win32/simplemail/smplmailclient.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: smplmailclient.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: tra $ $Date: 2001-05-16 13:34:53 $
+ * last change: $Author: tra $ $Date: 2001-05-25 08:21:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -362,8 +362,6 @@ void CSmplMailClient::initAttachementList(
OUString aSysPath;
for ( sal_uInt32 i = 0; i < nAttachements; i++ )
{
-#ifdef TF_FILEURL
-
osl::FileBase::RC rc =
osl::FileBase::getSystemPathFromFileURL(
aAttachementList[i], aSysPath );
@@ -380,10 +378,9 @@ void CSmplMailClient::initAttachementList(
aSysPath.getLength( ),
osl_getThreadTextEncoding( ) ) );
- m_AttachementList[i].lpszFileName = const_cast< LPSTR >(
+ m_AttachementList[i].lpszPathName = const_cast< LPSTR >(
m_AttchmtsSysPathList.back( ).getStr( ) );
-
-#endif
+ m_AttachementList[i].nPosition = -1;
}
}