diff options
author | Laureano G. Linde <lauregl@gmail.com> | 2012-04-15 18:47:57 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-16 21:50:30 +0100 |
commit | c29d22ce5d1d8c35218a7bf9939863aa2e058aa7 (patch) | |
tree | 5faca148debf956c7dc1206f73b01865ad7f1510 /sot | |
parent | 0c558610bdc5b9abc8e81b45e545983cc3a79670 (diff) |
Removed StgHeader::SetClassId(ClsId const &)
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgelem.cxx | 6 | ||||
-rw-r--r-- | sot/source/sdstor/stgelem.hxx | 1 |
2 files changed, 0 insertions, 7 deletions
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 ); }; |