[Libreoffice-commits] .: binfilter/bf_sfx2 binfilter/bf_so3 binfilter/bf_svx binfilter/bf_sw binfilter/inc
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Apr 6 07:03:09 PDT 2011
binfilter/bf_sfx2/source/doc/sfx2_docinf.cxx | 12 ++++++------
binfilter/bf_so3/source/inplace/embobj.cxx | 2 +-
binfilter/bf_so3/source/inplace/outplace.cxx | 1 -
binfilter/bf_so3/source/persist/persist.cxx | 2 +-
binfilter/bf_svx/source/items/svx_flditem.cxx | 10 +++++-----
binfilter/bf_svx/source/svdraw/svx_svdetc.cxx | 2 +-
binfilter/bf_svx/source/svdraw/svx_svdomeas.cxx | 2 +-
binfilter/bf_svx/source/svdraw/svx_svdpage.cxx | 2 +-
binfilter/bf_sw/source/core/layout/sw_frmtool.cxx | 4 ++--
binfilter/inc/bf_sc/attarray.hxx | 2 +-
binfilter/inc/bf_sc/autoform.hxx | 4 ++--
binfilter/inc/bf_sc/cell.hxx | 10 +++++-----
binfilter/inc/bf_sc/column.hxx | 2 +-
binfilter/inc/bf_sc/docoptio.hxx | 2 +-
binfilter/inc/bf_sc/document.hxx | 2 +-
binfilter/inc/bf_sc/table.hxx | 2 +-
binfilter/inc/bf_sc/viewopti.hxx | 2 +-
binfilter/inc/bf_sc/zforauto.hxx | 2 +-
binfilter/inc/bf_svtools/zforlist.hxx | 2 +-
19 files changed, 33 insertions(+), 34 deletions(-)
New commits:
commit c2d2c2bee386bce78f0a410767defd6d440accce
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Apr 6 15:03:01 2011 +0100
WaE: various unused args post save-removal
diff --git a/binfilter/bf_sfx2/source/doc/sfx2_docinf.cxx b/binfilter/bf_sfx2/source/doc/sfx2_docinf.cxx
index b611ca7..2aabc78 100644
--- a/binfilter/bf_sfx2/source/doc/sfx2_docinf.cxx
+++ b/binfilter/bf_sfx2/source/doc/sfx2_docinf.cxx
@@ -127,7 +127,7 @@ static const char pDocInfoHeader[] = "SfxDocumentInfo";
/*N*/ SfxPSCodePageProperty_Impl( CharSet nCharSet ) : SfxPSProperty_Impl( 1, VT_I2 ), nEncoding( nCharSet ) {}
/*N*/ virtual ~SfxPSCodePageProperty_Impl() {}
/*N*/
-/*N*/ virtual ULONG Save( SvStream& rStream ) {return 1;}
+/*N*/ virtual ULONG Save( SvStream& ) {return 1;}
/*N*/ virtual ULONG Len();
/*N*/ };
@@ -162,7 +162,7 @@ static const char pDocInfoHeader[] = "SfxDocumentInfo";
/*N*/
/*N*/ void SetIsUniCode() { bIsUniCode = TRUE; }
/*N*/
-/*N*/ virtual ULONG Save( SvStream& rStream ) {return 1;}
+/*N*/ virtual ULONG Save( SvStream& ) {return 1;}
/*N*/ virtual ULONG Load( SvStream& rStream );
/*N*/ virtual ULONG Len();
/*N*/
@@ -260,7 +260,7 @@ static const char pDocInfoHeader[] = "SfxDocumentInfo";
/*N*/ , aInt( aIntP )
/*N*/ {}
/*N*/
-/*N*/ virtual ULONG Save( SvStream& rStream ) {return 1;}
+/*N*/ virtual ULONG Save( SvStream& ) {return 1;}
/*N*/ virtual ULONG Len();
/*N*/ };
@@ -286,7 +286,7 @@ static const char pDocInfoHeader[] = "SfxDocumentInfo";
/*N*/ SfxPSDateTimeProperty_Impl( UINT32 nIdP ) :
/*N*/ SfxPSProperty_Impl( nIdP, VT_FILETIME ) {};
/*N*/
-/*N*/ virtual ULONG Save( SvStream& rStream ) {return 1;}
+/*N*/ virtual ULONG Save( SvStream& ) {return 1;}
/*N*/ virtual ULONG Load( SvStream& rStream );
/*N*/ virtual ULONG Len();
/*N*/
@@ -347,7 +347,7 @@ static const char pDocInfoHeader[] = "SfxDocumentInfo";
/*N*/ {
/*N*/ SvGlobalName aId;
/*N*/ SfxPSPropertyArr_Impl aProperties;
-/*N*/ ULONG Save(SvStream &rStream) {return 1;}
+/*N*/ ULONG Save(SvStream &) {return 1;}
/*N*/ };
//=========================================================================
@@ -362,7 +362,7 @@ static const char pDocInfoHeader[] = "SfxDocumentInfo";
/*N*/ void SetSectionName(const SvGlobalName& aIdP);
/*N*/ void AddProperty( SfxPSProperty_Impl* pProp);
/*N*/
-/*N*/ ULONG Save(SvStream &rStream) {return 1;}
+/*N*/ ULONG Save(SvStream &) {return 1;}
/*N*/ };
diff --git a/binfilter/bf_so3/source/inplace/embobj.cxx b/binfilter/bf_so3/source/inplace/embobj.cxx
index 1527f1d..d403a30 100644
--- a/binfilter/bf_so3/source/inplace/embobj.cxx
+++ b/binfilter/bf_so3/source/inplace/embobj.cxx
@@ -129,7 +129,7 @@ void SvEmbeddedInfoObject::Load( SvPersistStream & rStm )
}
}
-void SvEmbeddedInfoObject::Save( SvPersistStream & rStm ) {}
+void SvEmbeddedInfoObject::Save( SvPersistStream & ) {}
/************************************************************************
|* SvEmbeddedInfoObject::SetObj()
diff --git a/binfilter/bf_so3/source/inplace/outplace.cxx b/binfilter/bf_so3/source/inplace/outplace.cxx
index 3005263..3ab9cf6 100644
--- a/binfilter/bf_so3/source/inplace/outplace.cxx
+++ b/binfilter/bf_so3/source/inplace/outplace.cxx
@@ -65,7 +65,6 @@ using namespace ::com::sun::star::datatransfer;
namespace binfilter {
-static UINT32 nUniqueId = 1;
#ifdef WNT
static BOOL bOleInited = FALSE;
inline void InitOle()
diff --git a/binfilter/bf_so3/source/persist/persist.cxx b/binfilter/bf_so3/source/persist/persist.cxx
index 1c766c9..a05e696 100644
--- a/binfilter/bf_so3/source/persist/persist.cxx
+++ b/binfilter/bf_so3/source/persist/persist.cxx
@@ -143,7 +143,7 @@ void SvInfoObject::Load( SvPersistStream & rStm )
}
}
-void SvInfoObject::Save( SvPersistStream & rStm ) {}
+void SvInfoObject::Save( SvPersistStream & ) {}
void SvInfoObject::SetObj( SvPersist * pObj )
{
diff --git a/binfilter/bf_svx/source/items/svx_flditem.cxx b/binfilter/bf_svx/source/items/svx_flditem.cxx
index df9fd38..bd731f6 100644
--- a/binfilter/bf_svx/source/items/svx_flditem.cxx
+++ b/binfilter/bf_svx/source/items/svx_flditem.cxx
@@ -262,7 +262,7 @@ namespace binfilter {
// -----------------------------------------------------------------------
-/*N*/ void SvxDateField::Save( SvPersistStream & rStm ) {}
+/*N*/ void SvxDateField::Save( SvPersistStream & ) {}
// -----------------------------------------------------------------------
@@ -357,7 +357,7 @@ namespace binfilter {
// -----------------------------------------------------------------------
-/*N*/ void SvxURLField::Save( SvPersistStream & rStm ) {}
+/*N*/ void SvxURLField::Save( SvPersistStream & ) {}
// =================================================================
@@ -517,7 +517,7 @@ namespace binfilter {
//----------------------------------------------------------------------------
-/*N*/ void SvxExtTimeField::Save( SvPersistStream & rStm ) {}
+/*N*/ void SvxExtTimeField::Save( SvPersistStream & ) {}
//----------------------------------------------------------------------------
@@ -582,7 +582,7 @@ namespace binfilter {
//----------------------------------------------------------------------------
-/*N*/ void SvxExtFileField::Save( SvPersistStream & rStm ) {}
+/*N*/ void SvxExtFileField::Save( SvPersistStream & ) {}
//----------------------------------------------------------------------------
@@ -658,7 +658,7 @@ namespace binfilter {
//----------------------------------------------------------------------------
-/*N*/ void SvxAuthorField::Save( SvPersistStream & rStm ) {}
+/*N*/ void SvxAuthorField::Save( SvPersistStream & ) {}
//----------------------------------------------------------------------------
diff --git a/binfilter/bf_svx/source/svdraw/svx_svdetc.cxx b/binfilter/bf_svx/source/svdraw/svx_svdetc.cxx
index 0b05e00..6bce75b 100644
--- a/binfilter/bf_svx/source/svdraw/svx_svdetc.cxx
+++ b/binfilter/bf_svx/source/svdraw/svx_svdetc.cxx
@@ -306,7 +306,7 @@ namespace binfilter {
/*N*/ if (pLineColorMerk !=NULL) delete pLineColorMerk;
/*N*/ }
-/*N*/ void ImpSdrHdcMerk::Save(const OutputDevice& rOut) {}
+/*N*/ void ImpSdrHdcMerk::Save(const OutputDevice&) {}
/*N*/ void ImpSdrHdcMerk::Restore(OutputDevice& rOut, USHORT nMask) const
/*N*/ {
diff --git a/binfilter/bf_svx/source/svdraw/svx_svdomeas.cxx b/binfilter/bf_svx/source/svdraw/svx_svdomeas.cxx
index 5caf865..8013092 100644
--- a/binfilter/bf_svx/source/svdraw/svx_svdomeas.cxx
+++ b/binfilter/bf_svx/source/svdraw/svx_svdomeas.cxx
@@ -87,7 +87,7 @@ namespace binfilter {
/*N*/ eMeasureFieldKind=(SdrMeasureFieldKind)nFieldKind;
/*N*/ }
-/*N*/ void SdrMeasureField::Save(SvPersistStream& rOut) {}
+/*N*/ void SdrMeasureField::Save(SvPersistStream&) {}
/*?*/ void SdrMeasureField::TakeRepresentation(const SdrMeasureObj& rObj, XubString& rStr) const
/*?*/ {
diff --git a/binfilter/bf_svx/source/svdraw/svx_svdpage.cxx b/binfilter/bf_svx/source/svdraw/svx_svdpage.cxx
index f074c7d..7b4ec99 100644
--- a/binfilter/bf_svx/source/svdraw/svx_svdpage.cxx
+++ b/binfilter/bf_svx/source/svdraw/svx_svdpage.cxx
@@ -811,7 +811,7 @@ using namespace ::com::sun::star;
-/*N*/ void SdrObjList::Save(SvStream& rOut) const {}
+/*N*/ void SdrObjList::Save(SvStream&) const {}
/*N*/ void SdrObjList::Load(SvStream& rIn, SdrPage& rPage)
/*N*/ {
diff --git a/binfilter/bf_sw/source/core/layout/sw_frmtool.cxx b/binfilter/bf_sw/source/core/layout/sw_frmtool.cxx
index 607a8fb..d2bd0f0 100644
--- a/binfilter/bf_sw/source/core/layout/sw_frmtool.cxx
+++ b/binfilter/bf_sw/source/core/layout/sw_frmtool.cxx
@@ -1986,8 +1986,8 @@ void SwBorderAttrs::_GetBottomLine( const SwFrm *pFrm )
|*
|*************************************************************************/
-/*N*/ SwBorderAttrAccess::SwBorderAttrAccess( SwCache &rCache, const SwFrm *pFrm ) :
-/*N*/ SwCacheAccess( rCache, (pFrm->IsCntntFrm() ?
+/*N*/ SwBorderAttrAccess::SwBorderAttrAccess( SwCache &rInCache, const SwFrm *pFrm ) :
+/*N*/ SwCacheAccess( rInCache, (pFrm->IsCntntFrm() ?
/*N*/ (void*)((SwCntntFrm*)pFrm)->GetNode() :
/*N*/ (void*)((SwLayoutFrm*)pFrm)->GetFmt()),
/*N*/ (BOOL)(pFrm->IsCntntFrm() ?
diff --git a/binfilter/inc/bf_sc/attarray.hxx b/binfilter/inc/bf_sc/attarray.hxx
index 52b7486..7039a6a 100644
--- a/binfilter/inc/bf_sc/attarray.hxx
+++ b/binfilter/inc/bf_sc/attarray.hxx
@@ -152,7 +152,7 @@ public:
void DeleteHardAttr( USHORT nStartRow, USHORT nEndRow );
- void Save( SvStream& rStream ) const {}
+ void Save( SvStream& ) const {}
void Load( SvStream& rStream );
void ConvertFontsAfterLoad(); // old binary file format
};
diff --git a/binfilter/inc/bf_sc/autoform.hxx b/binfilter/inc/bf_sc/autoform.hxx
index a4b1987..75506a9 100644
--- a/binfilter/inc/bf_sc/autoform.hxx
+++ b/binfilter/inc/bf_sc/autoform.hxx
@@ -182,7 +182,7 @@ public:
void SetRotateMode( const SvxRotateModeItem& rRotateMode ) { aRotateMode.SetValue( rRotateMode.GetValue() ); }
BOOL Load( SvStream& rStream, const ScAfVersions& rVersions, USHORT nVer );
- BOOL Save( SvStream& rStream ) {return false;}
+ BOOL Save( SvStream& ) {return false;}
#ifdef READ_OLDVERS
BOOL LoadOld( SvStream& rStream, const ScAfVersions& rVersions );
@@ -237,7 +237,7 @@ public:
const SfxPoolItem* GetItem( USHORT nIndex, USHORT nWhich ) const;
void PutItem( USHORT nIndex, const SfxPoolItem& rItem );
BOOL Load( SvStream& rStream, const ScAfVersions& rVersions );
- BOOL Save( SvStream& rStream ) {return false;}
+ BOOL Save( SvStream& ) {return false;}
#ifdef READ_OLDVERS
BOOL LoadOld( SvStream& rStream, const ScAfVersions& rVersions );
diff --git a/binfilter/inc/bf_sc/cell.hxx b/binfilter/inc/bf_sc/cell.hxx
index 7805710..026de5e 100644
--- a/binfilter/inc/bf_sc/cell.hxx
+++ b/binfilter/inc/bf_sc/cell.hxx
@@ -146,7 +146,7 @@ public:
void SetValue( const double& rValue );
double GetValue() const;
- void Save( SvStream& rStream ) const {}
+ void Save( SvStream& ) const {}
};
@@ -173,7 +173,7 @@ public:
void SetString( const String& rString );
void GetString( String& rString ) const;
- void Save( SvStream& rStream, FontToSubsFontConverter hConv = 0 ) const {}
+ void Save( SvStream& , FontToSubsFontConverter = 0 ) const {}
// convert symbol font after loading binary format
void ConvertFont( FontToSubsFontConverter hConv );
};
@@ -213,7 +213,7 @@ public:
const EditTextObject* GetData() const { return pData; }
- void Save( SvStream& rStream ) const {}
+ void Save( SvStream& ) const {}
};
enum ScMatrixMode {
@@ -285,7 +285,7 @@ public:
void GetEnglishFormula( String& rFormula, BOOL bCompileXML = FALSE ) const;
void GetEnglishFormula( ::rtl::OUStringBuffer& rBuffer, BOOL bCompileXML = FALSE ) const;
- void Save( SvStream& rStream, ScMultipleWriteHeader& rHdr ) const {}
+ void Save( SvStream&, ScMultipleWriteHeader& ) const {}
void SetDirty();
inline void SetDirtyVar() { bDirty = TRUE; }
@@ -396,7 +396,7 @@ public:
ScNoteCell( SvStream& rStream, USHORT nVer );
ScBaseCell* Clone() const;
- void Save( SvStream& rStream ) const {}
+ void Save( SvStream& ) const {}
};
diff --git a/binfilter/inc/bf_sc/column.hxx b/binfilter/inc/bf_sc/column.hxx
index abc7d07..2e16a57 100644
--- a/binfilter/inc/bf_sc/column.hxx
+++ b/binfilter/inc/bf_sc/column.hxx
@@ -295,7 +295,7 @@ public:
void SaveNotes( SvStream& rStream ) const;
BOOL Load( SvStream& rStream, ScMultipleReadHeader& rHdr );
- BOOL Save( SvStream& rStream, ScMultipleWriteHeader& rHdr ) const {return false; }
+ BOOL Save( SvStream&, ScMultipleWriteHeader& ) const {return false; }
BOOL TestTabRefAbs(USHORT nTable);
diff --git a/binfilter/inc/bf_sc/docoptio.hxx b/binfilter/inc/bf_sc/docoptio.hxx
index 965b407..298d004 100644
--- a/binfilter/inc/bf_sc/docoptio.hxx
+++ b/binfilter/inc/bf_sc/docoptio.hxx
@@ -88,7 +88,7 @@ public:
void ResetDocOptions();
inline void CopyTo(ScDocOptions& rOpt);
void Load(SvStream& rStream);
- void Save(SvStream& rStream, BOOL bConfig = FALSE) const {}
+ void Save(SvStream&, BOOL = FALSE) const {}
inline const ScDocOptions& operator=( const ScDocOptions& rOpt );
inline int operator==( const ScDocOptions& rOpt ) const;
diff --git a/binfilter/inc/bf_sc/document.hxx b/binfilter/inc/bf_sc/document.hxx
index c025833..9613d98 100644
--- a/binfilter/inc/bf_sc/document.hxx
+++ b/binfilter/inc/bf_sc/document.hxx
@@ -1024,7 +1024,7 @@ public:
BOOL SavePool( SvStream& rStream ) const;
BOOL Load( SvStream& rStream, ScProgress* pProgress );
- BOOL Save( SvStream& rStream, ScProgress* pProgress ) const {return false;}
+ BOOL Save( SvStream& , ScProgress* ) const {return false;}
void UpdStlShtPtrsFrmNms();
diff --git a/binfilter/inc/bf_sc/table.hxx b/binfilter/inc/bf_sc/table.hxx
index 2d00a2a..6f0009c 100644
--- a/binfilter/inc/bf_sc/table.hxx
+++ b/binfilter/inc/bf_sc/table.hxx
@@ -442,7 +442,7 @@ public:
void RemoveManualBreaks();
BOOL Load( SvStream& rStream, USHORT nVersion, ScProgress* pProgress );
- BOOL Save( SvStream& rStream, long& rSavedDocCells, ScProgress* pProgress ) const {return false;}
+ BOOL Save( SvStream&, long&, ScProgress* ) const {return false;}
BOOL ValidQuery(USHORT nRow, const ScQueryParam& rQueryParam,
BOOL* pSpecial = NULL, ScBaseCell* pCell = NULL,
diff --git a/binfilter/inc/bf_sc/viewopti.hxx b/binfilter/inc/bf_sc/viewopti.hxx
index 2fda358..af514ee 100644
--- a/binfilter/inc/bf_sc/viewopti.hxx
+++ b/binfilter/inc/bf_sc/viewopti.hxx
@@ -129,7 +129,7 @@ public:
friend SvStream& operator>> ( SvStream& rStream, ScViewOptions& rOpt );
- void Save(SvStream& rStream, BOOL bConfig = FALSE) const {}
+ void Save(SvStream&, BOOL = FALSE) const {}
private:
BOOL aOptArr [MAX_OPT];
diff --git a/binfilter/inc/bf_sc/zforauto.hxx b/binfilter/inc/bf_sc/zforauto.hxx
index 4de95d0..e12b513 100644
--- a/binfilter/inc/bf_sc/zforauto.hxx
+++ b/binfilter/inc/bf_sc/zforauto.hxx
@@ -47,7 +47,7 @@ public:
ScNumFormatAbbrev(const ScNumFormatAbbrev& aFormat);
ScNumFormatAbbrev(ULONG /*nFormat*/, SvNumberFormatter& /*rFormatter*/) {DBG_BF_ASSERT(0, "STRIP"); }
void Load( SvStream& rStream ); // Laden der Zahlenformate
- void Save( SvStream& rStream ) const {} // Speichern der Zahlenformate
+ void Save( SvStream& ) const {} // Speichern der Zahlenformate
};
diff --git a/binfilter/inc/bf_svtools/zforlist.hxx b/binfilter/inc/bf_svtools/zforlist.hxx
index 74905ec..5900527 100644
--- a/binfilter/inc/bf_svtools/zforlist.hxx
+++ b/binfilter/inc/bf_svtools/zforlist.hxx
@@ -452,7 +452,7 @@ public:
/// Load all formats from a stream
BOOL Load( SvStream& rStream );
/// Save all formats to a stream
- BOOL Save( SvStream& rStream ) const {return false;}
+ BOOL Save( SvStream& ) const {return false;}
/// Get additional info of a format index, e.g. for dialog box
void GetFormatSpecialInfo(sal_uInt32 nFormat, BOOL& bThousand, BOOL& IsRed,
More information about the Libreoffice-commits
mailing list