GenerateHeader(false) -> SetHeaderGenerated()
Change-Id: I41f06c92589e6b1839e39d840a479f1a184b47dd
This commit is contained in:
parent
2c5ce8ea8e
commit
c27ab70f26
@ -564,7 +564,7 @@ Sequence<sal_Int8> ODatabaseForm::GetDataMultiPartEncoded(const Reference<XContr
|
||||
// Create MessageStream for parent
|
||||
INetMIMEMessageStream aMessStream;
|
||||
aMessStream.SetSourceMessage( &aParent );
|
||||
aMessStream.GenerateHeader( false );
|
||||
aMessStream.SetHeaderGenerated();
|
||||
|
||||
// Copy MessageStream to SvStream
|
||||
SvMemoryStream aMemStream;
|
||||
|
@ -108,7 +108,7 @@ public:
|
||||
INetMIMEMessage *GetSourceMessage (void) const { return pSourceMsg; }
|
||||
void SetSourceMessage (INetMIMEMessage *pMsg) { pSourceMsg = pMsg; }
|
||||
|
||||
void GenerateHeader (bool bGen = true) { bHeaderGenerated = !bGen; }
|
||||
void SetHeaderGenerated() { bHeaderGenerated = true; }
|
||||
bool IsHeaderGenerated (void) const { return bHeaderGenerated; }
|
||||
};
|
||||
|
||||
|
@ -467,7 +467,7 @@ INetMessageEncodeQPStream_Impl::INetMessageEncodeQPStream_Impl( sal_uIntPtr nMsg
|
||||
eState (INETMSG_EOL_SCR),
|
||||
bDone (false)
|
||||
{
|
||||
GenerateHeader (false);
|
||||
SetHeaderGenerated();
|
||||
|
||||
pMsgBuffer = new sal_Char[nMsgBufSiz];
|
||||
pMsgRead = pMsgWrite = pMsgBuffer;
|
||||
@ -789,7 +789,7 @@ INetMessageEncode64Stream_Impl::INetMessageEncode64Stream_Impl(
|
||||
nTokBufSiz (80),
|
||||
bDone (false)
|
||||
{
|
||||
GenerateHeader(false);
|
||||
SetHeaderGenerated();
|
||||
|
||||
pMsgBuffer = new sal_uInt8[nMsgBufSiz];
|
||||
pMsgRead = pMsgWrite = pMsgBuffer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user