diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-25 11:16:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-25 16:17:07 +0100 |
commit | d940e3519717c71c80ba8d3915bbc48acb59cc93 (patch) | |
tree | 5e138e098fbeb4cda6490b59cbd6616427cbdabc /include | |
parent | 6854bd6b9ed13277a11ae495d9ce47eb197ba754 (diff) |
Remove unused SfxMiniRecordWriter ctor
Change-Id: I97fd0bb73fd13af1c3b2a548b1329393cbc10924
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/filerec.hxx | 19 |
1 files changed, 0 insertions, 19 deletions
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() { |