Kaydet (Commit) 54942f0d authored tarafından Noel Grandin's avatar Noel Grandin

spelling: attachement -> attachment

Change-Id: I1bb1ad04adec864b594d96711f85b8fcdc1d1ef2
üst f901624b
...@@ -912,7 +912,7 @@ void OGridControlModel::read(const Reference<XObjectInputStream>& _rxInStream) t ...@@ -912,7 +912,7 @@ void OGridControlModel::read(const Reference<XObjectInputStream>& _rxInStream) t
_rxInStream->skipBytes(nObjLen); _rxInStream->skipBytes(nObjLen);
xMark->deleteMark(nMark); xMark->deleteMark(nMark);
} }
// reading the attachement // reading the attachment
for (sal_Int32 i = 0; i < nLen; i++) for (sal_Int32 i = 0; i < nLen; i++)
{ {
InterfaceRef xIfc(m_aItems[i], UNO_QUERY); InterfaceRef xIfc(m_aItems[i], UNO_QUERY);
......
...@@ -455,7 +455,7 @@ void SAL_CALL OInterfaceContainer::readEvents(const Reference<XObjectInputStream ...@@ -455,7 +455,7 @@ void SAL_CALL OInterfaceContainer::readEvents(const Reference<XObjectInputStream
xMark->deleteMark(nMark); xMark->deleteMark(nMark);
} }
// Read Attachement // Read Attachment
if ( m_xEventAttacher.is() ) if ( m_xEventAttacher.is() )
{ {
OInterfaceArray::const_iterator aAttach = m_aItems.begin(); OInterfaceArray::const_iterator aAttach = m_aItems.begin();
......
...@@ -116,7 +116,7 @@ void initRecipientList(MapiRecipientList_t* pMapiRecipientList) ...@@ -116,7 +116,7 @@ void initRecipientList(MapiRecipientList_t* pMapiRecipientList)
} }
/** @internal */ /** @internal */
void initAttachementList(MapiAttachmentList_t* pMapiAttachmentList) void initAttachmentList(MapiAttachmentList_t* pMapiAttachmentList)
{ {
OSL_ASSERT(pMapiAttachmentList->empty()); OSL_ASSERT(pMapiAttachmentList->empty());
...@@ -276,7 +276,7 @@ int main(int argc, char* argv[]) ...@@ -276,7 +276,7 @@ int main(int argc, char* argv[])
initMapiOriginator(&mapiOriginator); initMapiOriginator(&mapiOriginator);
initRecipientList(&mapiRecipientList); initRecipientList(&mapiRecipientList);
initAttachementList(&mapiAttachmentList); initAttachmentList(&mapiAttachmentList);
initMapiMessage((gFrom.length() ? &mapiOriginator : NULL), mapiRecipientList, mapiAttachmentList, &mapiMsg); initMapiMessage((gFrom.length() ? &mapiOriginator : NULL), mapiRecipientList, mapiAttachmentList, &mapiMsg);
ulRet = mapi.MAPISendMail(hSession, 0, &mapiMsg, gMapiFlags, 0); ulRet = mapi.MAPISendMail(hSession, 0, &mapiMsg, gMapiFlags, 0);
......
...@@ -120,20 +120,20 @@ int SAL_CALL main(int , char*, char* ) ...@@ -120,20 +120,20 @@ int SAL_CALL main(int , char*, char* )
xSmplMailMsg->setSubject( OUString("Mapi Test") ); xSmplMailMsg->setSubject( OUString("Mapi Test") );
Sequence< OUString > attachements( 2 ); Sequence< OUString > attachments( 2 );
OUString aFile("D:\\Projects\\gsl\\shell\\wntmsci7\\bin\\testprx.exe"); OUString aFile("D:\\Projects\\gsl\\shell\\wntmsci7\\bin\\testprx.exe");
OUString aFileURL; OUString aFileURL;
osl::FileBase::getFileURLFromSystemPath( aFile, aFileURL ); osl::FileBase::getFileURLFromSystemPath( aFile, aFileURL );
attachements[0] = aFileURL; attachments[0] = aFileURL;
aFile = "D:\\Projects\\gsl\\shell\\wntmsci7\\bin\\testsyssh.exe"; aFile = "D:\\Projects\\gsl\\shell\\wntmsci7\\bin\\testsyssh.exe";
osl::FileBase::getFileURLFromSystemPath( aFile, aFileURL ); osl::FileBase::getFileURLFromSystemPath( aFile, aFileURL );
attachements[1] = aFile; attachments[1] = aFile;
xSmplMailMsg->setAttachement( attachements ); xSmplMailMsg->setAttachement( attachments );
xSmplMailClient->sendSimpleMailMessage( xSmplMailMsg, 0 ); xSmplMailClient->sendSimpleMailMessage( xSmplMailMsg, 0 );
} }
......
...@@ -315,7 +315,7 @@ void OpenGLHelper::createFramebuffer(long nWidth, long nHeight, GLuint& nFramebu ...@@ -315,7 +315,7 @@ void OpenGLHelper::createFramebuffer(long nWidth, long nHeight, GLuint& nFramebu
glGenFramebuffers(1, &nFramebufferId); glGenFramebuffers(1, &nFramebufferId);
glCheckFramebufferStatus(GL_FRAMEBUFFER); glCheckFramebufferStatus(GL_FRAMEBUFFER);
glBindFramebuffer(GL_FRAMEBUFFER, nFramebufferId); glBindFramebuffer(GL_FRAMEBUFFER, nFramebufferId);
// attach a renderbuffer to FBO color attachement point // attach a renderbuffer to FBO color attachment point
glBindRenderbuffer(GL_RENDERBUFFER, nRenderbufferColorId); glBindRenderbuffer(GL_RENDERBUFFER, nRenderbufferColorId);
glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, nRenderbufferColorId); glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, nRenderbufferColorId);
glCheckFramebufferStatus(GL_FRAMEBUFFER); glCheckFramebufferStatus(GL_FRAMEBUFFER);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment