From d940e3519717c71c80ba8d3915bbc48acb59cc93 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 25 Mar 2014 11:16:02 +0100 Subject: Remove unused SfxMiniRecordWriter ctor Change-Id: I97fd0bb73fd13af1c3b2a548b1329393cbc10924 --- include/svl/filerec.hxx | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'include') diff --git a/include/svl/filerec.hxx b/include/svl/filerec.hxx index e74487329b21..e67bdb86bb42 100644 --- a/include/svl/filerec.hxx +++ b/include/svl/filerec.hxx @@ -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() { -- cgit