Kaydet (Commit) c27ab70f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

GenerateHeader(false) -> SetHeaderGenerated()

Change-Id: I41f06c92589e6b1839e39d840a479f1a184b47dd
üst 2c5ce8ea
...@@ -564,7 +564,7 @@ Sequence<sal_Int8> ODatabaseForm::GetDataMultiPartEncoded(const Reference<XContr ...@@ -564,7 +564,7 @@ Sequence<sal_Int8> ODatabaseForm::GetDataMultiPartEncoded(const Reference<XContr
// Create MessageStream for parent // Create MessageStream for parent
INetMIMEMessageStream aMessStream; INetMIMEMessageStream aMessStream;
aMessStream.SetSourceMessage( &aParent ); aMessStream.SetSourceMessage( &aParent );
aMessStream.GenerateHeader( false ); aMessStream.SetHeaderGenerated();
// Copy MessageStream to SvStream // Copy MessageStream to SvStream
SvMemoryStream aMemStream; SvMemoryStream aMemStream;
......
...@@ -108,7 +108,7 @@ public: ...@@ -108,7 +108,7 @@ public:
INetMIMEMessage *GetSourceMessage (void) const { return pSourceMsg; } INetMIMEMessage *GetSourceMessage (void) const { return pSourceMsg; }
void SetSourceMessage (INetMIMEMessage *pMsg) { pSourceMsg = pMsg; } void SetSourceMessage (INetMIMEMessage *pMsg) { pSourceMsg = pMsg; }
void GenerateHeader (bool bGen = true) { bHeaderGenerated = !bGen; } void SetHeaderGenerated() { bHeaderGenerated = true; }
bool IsHeaderGenerated (void) const { return bHeaderGenerated; } bool IsHeaderGenerated (void) const { return bHeaderGenerated; }
}; };
......
...@@ -467,7 +467,7 @@ INetMessageEncodeQPStream_Impl::INetMessageEncodeQPStream_Impl( sal_uIntPtr nMsg ...@@ -467,7 +467,7 @@ INetMessageEncodeQPStream_Impl::INetMessageEncodeQPStream_Impl( sal_uIntPtr nMsg
eState (INETMSG_EOL_SCR), eState (INETMSG_EOL_SCR),
bDone (false) bDone (false)
{ {
GenerateHeader (false); SetHeaderGenerated();
pMsgBuffer = new sal_Char[nMsgBufSiz]; pMsgBuffer = new sal_Char[nMsgBufSiz];
pMsgRead = pMsgWrite = pMsgBuffer; pMsgRead = pMsgWrite = pMsgBuffer;
...@@ -789,7 +789,7 @@ INetMessageEncode64Stream_Impl::INetMessageEncode64Stream_Impl( ...@@ -789,7 +789,7 @@ INetMessageEncode64Stream_Impl::INetMessageEncode64Stream_Impl(
nTokBufSiz (80), nTokBufSiz (80),
bDone (false) bDone (false)
{ {
GenerateHeader(false); SetHeaderGenerated();
pMsgBuffer = new sal_uInt8[nMsgBufSiz]; pMsgBuffer = new sal_uInt8[nMsgBufSiz];
pMsgRead = pMsgWrite = pMsgBuffer; pMsgRead = pMsgWrite = pMsgBuffer;
......
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