From ade2a4ad180eac9e72e5104fd8e0ef9014847bec Mon Sep 17 00:00:00 2001
From: Laureano G. Linde <lauregl@gmail.com>
Date: Sun, 15 Apr 2012 18:47:57 +0200
Subject: [PATCH] Removed StgHeader::SetClassId(ClsId const &)
---
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
Context
- [PATCH] Removing unused code · Laure García Linde
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.