[Libreoffice-commits] .: sot/source
Caolán McNamara
caolan at kemper.freedesktop.org
Mon Apr 16 13:53:28 PDT 2012
sot/source/sdstor/stgelem.cxx | 6 ------
sot/source/sdstor/stgelem.hxx | 1 -
2 files changed, 7 deletions(-)
New commits:
commit c29d22ce5d1d8c35218a7bf9939863aa2e058aa7
Author: Laureano G. Linde <lauregl at gmail.com>
Date: Sun Apr 15 18:47:57 2012 +0200
Removed StgHeader::SetClassId(ClsId const &)
diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx
index ff73a59..c51dc1b 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 7792608..6ea349e 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 );
};
More information about the Libreoffice-commits
mailing list