From c29d22ce5d1d8c35218a7bf9939863aa2e058aa7 Mon Sep 17 00:00:00 2001 From: "Laureano G. Linde" Date: Sun, 15 Apr 2012 18:47:57 +0200 Subject: Removed StgHeader::SetClassId(ClsId const &) --- sot/source/sdstor/stgelem.cxx | 6 ------ sot/source/sdstor/stgelem.hxx | 1 - 2 files changed, 7 deletions(-) (limited to 'sot') diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx index ff73a590f128..c51dc1be6339 100644 --- a/sot/source/sdstor/stgelem.cxx +++ b/sot/source/sdstor/stgelem.cxx @@ -187,12 +187,6 @@ void StgHeader::SetFATPage( short n, sal_Int32 nb ) } } -void StgHeader::SetClassId( const ClsId& r ) -{ - if( memcmp( &aClsId, &r, sizeof( ClsId ) ) ) - bDirty = sal_True, memcpy( &aClsId, &r, sizeof( ClsId ) ); -} - void StgHeader::SetTOCStart( sal_Int32 n ) { if( n != nTOCstrm ) bDirty = sal_True, nTOCstrm = n; diff --git a/sot/source/sdstor/stgelem.hxx b/sot/source/sdstor/stgelem.hxx index 779260861d11..6ea349e7ef4e 100644 --- a/sot/source/sdstor/stgelem.hxx +++ b/sot/source/sdstor/stgelem.hxx @@ -87,7 +87,6 @@ public: void SetMasters( sal_Int32 n ); short GetFAT1Size() const { return 109; } const ClsId& GetClassId() const { return aClsId; } - void SetClassId( const ClsId& ); sal_Int32 GetFATPage( short ) const; void SetFATPage( short, sal_Int32 ); }; -- cgit v1.2.3