diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-29 12:40:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-29 15:08:43 +0200 |
commit | 34180700b2686c97cdce0b52ca9578a41a153035 (patch) | |
tree | 073f3753e4483f30efa3c7c769f23971e6a046d5 /tools/source/ref | |
parent | e710170d906fcb248a5e4ff5a3a90cbf0e20003d (diff) |
loplugin:removeunusedmethods, remove unused stuff
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
Diffstat (limited to 'tools/source/ref')
-rw-r--r-- | tools/source/ref/pstm.cxx | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/tools/source/ref/pstm.cxx b/tools/source/ref/pstm.cxx index 7cf42258ea80..ab0f95129d0f 100644 --- a/tools/source/ref/pstm.cxx +++ b/tools/source/ref/pstm.cxx @@ -572,32 +572,6 @@ SvPersistStream& operator >> return rStm.ReadPointer( rpObj ); } -SvStream& WriteSvPersistStream -( - SvStream & rStm, - SvPersistStream & rThis -) -{ - SvStream * pOldStm = rThis.GetStream(); - rThis.SetStream( &rStm ); - - sal_uInt8 bTmp = 0; - rThis.WriteUChar( bTmp ); // Version - sal_uInt32 nCount = (sal_uInt32)rThis.aPUIdx.Count(); - rThis.WriteUInt32( nCount ); - sal_uIntPtr aIndex = rThis.aPUIdx.FirstIndex(); - for( sal_uInt32 i = 0; i < nCount; i++ ) - { - SvPersistBase * pEle = rThis.aPUIdx.Get(aIndex); - sal_uInt8 nP = P_OBJ | P_ID | P_STD; - WriteId( rThis, nP, aIndex, pEle->GetClassId() ); - rThis.WriteObj( nP, pEle ); - aIndex = rThis.aPUIdx.NextIndex( aIndex ); - } - rThis.SetStream( pOldStm ); - return rStm; -} - SvStream& operator >> ( SvStream & rStm, |