[PATCH] Removed StgHeader::SetClassId(ClsId const &)

Laureano G. Linde lauregl at gmail.com
Sun Apr 15 09:47:57 PDT 2012


---
 sot/source/sdstor/stgelem.cxx |    6 ------
 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 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 );
 };
-- 
1.7.0.4


--------------000503050909060209020704--


More information about the LibreOffice mailing list