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

Remove unused SfxMiniRecordWriter ctor

Change-Id: I97fd0bb73fd13af1c3b2a548b1329393cbc10924
üst 6854bd6b
......@@ -196,8 +196,6 @@ protected:
public:
inline SfxMiniRecordWriter( SvStream *pStream, sal_uInt8 nTag );
inline SfxMiniRecordWriter( SvStream *pStream, sal_uInt8 nTag,
sal_uInt32 nSize );
inline ~SfxMiniRecordWriter();
inline SvStream& operator*() const;
......@@ -592,23 +590,6 @@ inline SfxMiniRecordWriter::SfxMiniRecordWriter( SvStream* pStream, sal_uInt8 nT
pStream->SeekRel( + SFX_REC_HEADERSIZE_MINI );
}
/** create a mini record with a known content size
*
* @param pStream the stream that will contain the record
* @param nTag a record tag between 0x01 and 0xFE
* @param nSize data size in Byte
*/
inline SfxMiniRecordWriter::SfxMiniRecordWriter( SvStream* pStream, sal_uInt8 nTag, sal_uInt32 nSize )
: _pStream( pStream ),
_bHeaderOk(true)
{
DBG_ASSERT( nTag != 0 && nTag != 0xFF, "invalid Tag" );
DBG(_nStartPos = pStream->Tell());
DBG( DbgOutf( "SfxFileRec: writing record to %ul", _nStartPos ) );
pStream->WriteUInt32( ( nTag << 24 ) | nSize );
}
/** The destructor closes the record automatically if not done earlier */
inline SfxMiniRecordWriter::~SfxMiniRecordWriter()
{
......
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