[Libreoffice-commits] .: 3 commits - binfilter/bf_sc binfilter/bf_svx binfilter/bf_sw binfilter/inc
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Jul 3 04:36:40 PDT 2011
binfilter/bf_sc/source/core/tool/sc_autoform.cxx | 30 -----------------------
binfilter/bf_svx/source/engine3d/svx_obj3d.cxx | 30 -----------------------
binfilter/bf_svx/source/svdraw/svx_svdoedge.cxx | 20 ---------------
binfilter/bf_sw/source/core/doc/sw_docnew.cxx | 5 ---
binfilter/bf_sw/source/filter/w4w/sw_w4watr.cxx | 8 ------
binfilter/inc/bf_svx/obj3d.hxx | 1
binfilter/inc/bf_svx/svdoedge.hxx | 1
binfilter/inc/bf_sw/doc.hxx | 1
8 files changed, 96 deletions(-)
New commits:
commit c00b4d50369b9a600c9f4debe31cb69662055923
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jul 3 01:48:43 2011 +0100
callcatcher: unused write methods
diff --git a/binfilter/bf_svx/source/engine3d/svx_obj3d.cxx b/binfilter/bf_svx/source/engine3d/svx_obj3d.cxx
index 54dd962..4a83ce0 100644
--- a/binfilter/bf_svx/source/engine3d/svx_obj3d.cxx
+++ b/binfilter/bf_svx/source/engine3d/svx_obj3d.cxx
@@ -791,36 +791,6 @@ namespace binfilter {
/*************************************************************************
|*
-|* Nur die Member des E3dObjekts in den Stream speichern
-|* Dies wird direkt auch von E3dSphere gerufen um zu verhindern dass die
-|* Subliste weggeschrieben wird. (FG)
-|*
-\************************************************************************/
-
-/*N*/ #ifndef SVX_LIGHT
-/*N*/ void E3dObject::WriteOnlyOwnMembers(SvStream& rOut) const
-/*N*/ {
-/*N*/ // Fuer Abwaertskompatibilitaet (Lesen neuer Daten mit altem Code)
-/*N*/ SdrDownCompat aCompat(rOut, STREAM_WRITE);
-/*N*/ #ifdef DBG_UTIL
-/*N*/ aCompat.SetID("E3dObjectOwnMembers");
-/*N*/ #endif
-/*N*/
-/*N*/ rOut << aLocalBoundVol;
-/*N*/
-/*N*/ Old_Matrix3D aMat3D;
-/*N*/ aMat3D = aTfMatrix;
-/*N*/ rOut << aMat3D;
-/*N*/
-/*N*/ rOut << nLogicalGroup;
-/*N*/ rOut << nObjTreeLevel;
-/*N*/ rOut << nPartOfParent;
-/*N*/ rOut << UINT16(eDragDetail);
-/*N*/ }
-/*N*/ #endif
-
-/*************************************************************************
-|*
|* Objektdaten aus Stream laden
|*
\************************************************************************/
diff --git a/binfilter/bf_svx/source/svdraw/svx_svdoedge.cxx b/binfilter/bf_svx/source/svdraw/svx_svdoedge.cxx
index a9cc3e2..61733e6 100644
--- a/binfilter/bf_svx/source/svdraw/svx_svdoedge.cxx
+++ b/binfilter/bf_svx/source/svdraw/svx_svdoedge.cxx
@@ -96,26 +96,6 @@ namespace binfilter {
/*N*/ return bRet;
/*N*/ }
-/*N*/ void SdrObjConnection::Write(SvStream& rOut, const SdrObject* pEdgeObj) const
-/*N*/ {
-/*N*/ SdrIOHeader aHead(rOut,STREAM_WRITE,SdrIOConnID); // ab V11 eingepackt
-/*N*/ SdrObjSurrogate aSuro(pObj,pEdgeObj);
-/*N*/ rOut<<aSuro;
-/*N*/ rOut<<nConId;
-/*N*/ rOut<<nXDist;
-/*N*/ rOut<<nYDist;
-/*N*/ BOOL bTmp;
-/*N*/ bTmp=bBestConn; rOut<<bTmp;
-/*N*/ bTmp=bBestVertex; rOut<<bTmp;
-/*N*/ bTmp=bXDistOvr; rOut<<bTmp;
-/*N*/ bTmp=bYDistOvr; rOut<<bTmp;
-/*N*/ bTmp=bAutoVertex; rOut<<bTmp;
-/*N*/ bTmp=bAutoCorner; rOut<<bTmp;
-/*N*/ UINT32 nReserve=0;
-/*N*/ rOut<<nReserve;
-/*N*/ rOut<<nReserve;
-/*N*/ }
-
/*N*/ void SdrObjConnection::Read(SvStream& rIn, const SdrObject* pEdgeObj)
/*N*/ {
/*N*/ if (rIn.GetError()!=0) return;
diff --git a/binfilter/bf_sw/source/core/doc/sw_docnew.cxx b/binfilter/bf_sw/source/core/doc/sw_docnew.cxx
index 72c9c78..1381dad 100644
--- a/binfilter/bf_sw/source/core/doc/sw_docnew.cxx
+++ b/binfilter/bf_sw/source/core/doc/sw_docnew.cxx
@@ -737,11 +737,6 @@ const sal_Char sGrfCollStr[] = "Graphikformatvorlage";
/*N*/ }
/*N*/ }
-/*N*/ void SwDoc::WriteLayoutCache( SvStream& rStream )
-/*N*/ {
-/*N*/ pLayoutCache->Write( rStream, *this );
-/*N*/ }
-
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binfilter/inc/bf_svx/obj3d.hxx b/binfilter/inc/bf_svx/obj3d.hxx
index 768cd42..2cc2184 100644
--- a/binfilter/inc/bf_svx/obj3d.hxx
+++ b/binfilter/inc/bf_svx/obj3d.hxx
@@ -257,7 +257,6 @@ class E3dObject : public SdrAttrObj
// diese Funktionen schreiben nur die Member von E3dObject wird auch von E3dSphere
// gerufen.
void ReadOnlyOwnMembers(const SdrObjIOHeader& rHead, SvStream& rIn);
- void WriteOnlyOwnMembers(SvStream& rOut) const;
// Selektion Setzen/Lesen
BOOL GetSelected() { return bIsSelected; }
diff --git a/binfilter/inc/bf_svx/svdoedge.hxx b/binfilter/inc/bf_svx/svdoedge.hxx
index 7a6d853..0758ea9 100644
--- a/binfilter/inc/bf_svx/svdoedge.hxx
+++ b/binfilter/inc/bf_svx/svdoedge.hxx
@@ -75,7 +75,6 @@ public:
void ResetVars();
bool TakeGluePoint(SdrGluePoint& rGP, bool bSetAbsolutePos) const;
- void Write(SvStream& rOut, const SdrObject* pObj) const;
void Read(SvStream& rIn, const SdrObject* pObj);
void ReadTilV10(SvStream& rIn, const SdrObject* pObj);
void AfterRead(const SdrObject* pObj);
diff --git a/binfilter/inc/bf_sw/doc.hxx b/binfilter/inc/bf_sw/doc.hxx
index 67b2ac4..a1af1f7 100644
--- a/binfilter/inc/bf_sw/doc.hxx
+++ b/binfilter/inc/bf_sw/doc.hxx
@@ -1550,7 +1550,6 @@ public:
}
void ReadLayoutCache( SvStream& rStream );
- void WriteLayoutCache( SvStream& rStream );
SwLayoutCache* GetLayoutCache() const { return pLayoutCache; }
void SetULongDummy1( sal_uInt32 n ) { n32Dummy1 = n; }
commit 40a7e1a47241a6d0d8217e09773fcfcfa6df185c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jul 3 01:24:53 2011 +0100
callcatcher: unused ScAfVersions::Write
diff --git a/binfilter/bf_sc/source/core/tool/sc_autoform.cxx b/binfilter/bf_sc/source/core/tool/sc_autoform.cxx
index 90d1804..3c74626 100644
--- a/binfilter/bf_sc/source/core/tool/sc_autoform.cxx
+++ b/binfilter/bf_sc/source/core/tool/sc_autoform.cxx
@@ -115,7 +115,6 @@ const USHORT AUTOFORMAT_OLD_ID_NEW = 4203;
/*N*/
/*N*/ ScAfVersions();
/*N*/ void Load( SvStream& rStream, USHORT nVer );
-/*N*/ static void Write(SvStream& rStream);
/*N*/ };
/*N*/ ScAfVersions::ScAfVersions() :
@@ -169,35 +168,6 @@ const USHORT AUTOFORMAT_OLD_ID_NEW = 4203;
/*N*/ rStream >> nNumFmtVersion;
/*N*/ }
-/*N*/ void ScAfVersions::Write(SvStream& rStream)
-/*N*/ {
-/*N*/ rStream << SvxFontItem().GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/ rStream << SvxFontHeightItem().GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/ rStream << SvxWeightItem().GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/ rStream << SvxPostureItem().GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/ rStream << SvxUnderlineItem().GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/ rStream << SvxCrossedOutItem().GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/ rStream << SvxContourItem().GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/ rStream << SvxShadowedItem().GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/ rStream << SvxColorItem().GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/ rStream << SvxBoxItem().GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/ rStream << SvxBrushItem().GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/
-/*N*/ rStream << SvxAdjustItem().GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/
-/*N*/ rStream << SvxHorJustifyItem().GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/ rStream << SvxVerJustifyItem().GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/ rStream << SvxOrientationItem().GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/ rStream << SvxMarginItem().GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/ rStream << SfxBoolItem(ATTR_LINEBREAK).GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/ rStream << SfxInt32Item(ATTR_ROTATE_VALUE).GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/ rStream << SvxRotateModeItem(SVX_ROTATE_MODE_STANDARD,0).GetVersion(SOFFICE_FILEFORMAT_40);
-/*N*/
-/*N*/ rStream << (USHORT)0; // Num-Format
-/*N*/ }
-
-// ---------------------------------------------------------------------------
-
/*N*/ ScAutoFormatDataField::ScAutoFormatDataField() :
/*N*/ aCJKFont( ATTR_CJK_FONT ),
/*N*/ aCJKHeight( 240, 100, ATTR_CJK_FONT_HEIGHT ),
commit 55fd1ad32f08b91d8fd01568c46436a8f6e53e21
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jul 3 00:54:33 2011 +0100
callcatcher: unused OutW4W_SwFmtPageDesc1
diff --git a/binfilter/bf_sw/source/filter/w4w/sw_w4watr.cxx b/binfilter/bf_sw/source/filter/w4w/sw_w4watr.cxx
index 9b76da7..aded6a3 100644
--- a/binfilter/bf_sw/source/filter/w4w/sw_w4watr.cxx
+++ b/binfilter/bf_sw/source/filter/w4w/sw_w4watr.cxx
@@ -129,14 +129,6 @@ inline int HI_BYTE( USHORT n ) { return (int)( ( n >> 8 ) & 0xff ); }
inline int LO_BYTE( USHORT n ) { return (int)( n & 0xff ); }
-// PageDescs
-//
-
-void OutW4W_SwFmtPageDesc1( const SwPageDesc* )
-{
- return;
-}
-
/* Ausgabe der Nodes */
/*
More information about the Libreoffice-commits
mailing list