GenerateHeader(false) -> SetHeaderGenerated()

Change-Id: I41f06c92589e6b1839e39d840a479f1a184b47dd
This commit is contained in:
Stephan Bergmann 2015-02-11 16:25:30 +01:00
parent 2c5ce8ea8e
commit c27ab70f26
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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; }
};

View File

@ -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;