regards
>From 94ae830669bfc1df7b4235c45d0a6a72def30be2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Andr=C3=A9=20Jacquod?= <pjacq...@alumni.ethz.ch> Date: Sun, 28 Nov 2010 21:09:30 +0100 Subject: [PATCH 3/5] trivial warning fixes within binfilter bf_sw doc
--- .../bf_sw/source/core/doc/sw_SwStyleNameMapper.cxx | 2 +- binfilter/bf_sw/source/core/doc/sw_doc.cxx | 8 ++-- binfilter/bf_sw/source/core/doc/sw_docbm.cxx | 6 +- binfilter/bf_sw/source/core/doc/sw_docchart.cxx | 2 +- binfilter/bf_sw/source/core/doc/sw_docdde.cxx | 2 +- binfilter/bf_sw/source/core/doc/sw_docdesc.cxx | 2 +- binfilter/bf_sw/source/core/doc/sw_docdraw.cxx | 18 ++++--- binfilter/bf_sw/source/core/doc/sw_docedt.cxx | 2 +- binfilter/bf_sw/source/core/doc/sw_docfld.cxx | 4 +- binfilter/bf_sw/source/core/doc/sw_docfly.cxx | 4 +- binfilter/bf_sw/source/core/doc/sw_docfmt.cxx | 2 +- binfilter/bf_sw/source/core/doc/sw_docftn.cxx | 2 +- binfilter/bf_sw/source/core/doc/sw_doclay.cxx | 14 +++--- binfilter/bf_sw/source/core/doc/sw_docnum.cxx | 10 ++-- binfilter/bf_sw/source/core/doc/sw_docredln.cxx | 49 ++++---------------- binfilter/bf_sw/source/core/doc/sw_docsort.cxx | 4 +- binfilter/bf_sw/source/core/doc/sw_doctxm.cxx | 8 ++-- binfilter/bf_sw/source/core/doc/sw_fmtcol.cxx | 4 +- binfilter/bf_sw/source/core/doc/sw_notxtfrm.cxx | 8 ++-- binfilter/bf_sw/source/core/doc/sw_number.cxx | 2 +- binfilter/bf_sw/source/core/doc/sw_poolfmt.cxx | 2 +- binfilter/bf_sw/source/core/doc/sw_swtable.cxx | 6 +- binfilter/bf_sw/source/core/doc/sw_tblrwcl.cxx | 4 +- binfilter/bf_sw/source/core/doc/sw_visiturl.cxx | 2 +- 24 files changed, 70 insertions(+), 97 deletions(-) diff --git a/binfilter/bf_sw/source/core/doc/sw_SwStyleNameMapper.cxx b/binfilter/bf_sw/source/core/doc/sw_SwStyleNameMapper.cxx index 159c82a..9a4b51c 100644 --- a/binfilter/bf_sw/source/core/doc/sw_SwStyleNameMapper.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_SwStyleNameMapper.cxx @@ -709,7 +709,7 @@ const struct SwTableEntry NumRuleProgNameTable [] = /*N*/ } // Get the programmatic Name from the pool ID -/*N*/ void SwStyleNameMapper::FillProgName ( sal_uInt16 nId, String& rFillName ) +/*N*/ void SwStyleNameMapper::FillProgName ( sal_uInt16 /*nId*/, String& /*rFillName*/ ) /*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*N*/ } // Get the programmatic Name from the pool ID diff --git a/binfilter/bf_sw/source/core/doc/sw_doc.cxx b/binfilter/bf_sw/source/core/doc/sw_doc.cxx index 3c5811c..c5bfcc0 100644 --- a/binfilter/bf_sw/source/core/doc/sw_doc.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_doc.cxx @@ -487,7 +487,7 @@ void SwDoc::SetGlobalMacro( USHORT nEvent, const SvxMacro& rMacro ) //JP 24.06.96: Ist der ArrayPointer 0 dann returne nur, ob im Doc. eine // RefMark gesetzt ist // OS 25.06.96: ab jetzt wird immer die Anzahl der Referenzen returnt -/*N*/ USHORT SwDoc::GetRefMarks( SvStringsDtor* pNames ) const +/*N*/ USHORT SwDoc::GetRefMarks( SvStringsDtor* /*pNames*/ ) const /*N*/ { /*N*/ DBG_BF_ASSERT(0, "STRIP"); return 0;//STRIP001 const SfxPoolItem* pItem; /*N*/ } @@ -524,9 +524,9 @@ void SwDoc::SetGlobalMacro( USHORT nEvent, const SvxMacro& rMacro ) /*N*/ } -/*N*/ void SwDoc::ReRead( SwPaM& rPam, const String& rGrfName, -/*N*/ const String& rFltName, const Graphic* pGraphic, -/*N*/ const BfGraphicObject* pGrafObj ) +/*N*/ void SwDoc::ReRead( SwPaM& /*rPam*/, const String& /*rGrfName*/, +/*N*/ const String& /*rFltName*/, const Graphic* /*pGraphic*/, +/*N*/ const BfGraphicObject* /*pGrafObj*/ ) /*N*/ { DBG_BF_ASSERT(0, "STRIP"); //STRIP001 SwGrfNode *pGrfNd; /*N*/ } diff --git a/binfilter/bf_sw/source/core/doc/sw_docbm.cxx b/binfilter/bf_sw/source/core/doc/sw_docbm.cxx index ca32fb5..f0ce7bb 100644 --- a/binfilter/bf_sw/source/core/doc/sw_docbm.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_docbm.cxx @@ -181,7 +181,7 @@ namespace binfilter { // erzeugt einen eindeutigen Namen. Der Name selbst muss vorgegeben // werden, es wird dann bei gleichen Namen nur durchnumeriert. -/*N*/ void SwDoc::MakeUniqueBookmarkName( String& rNm ) +/*N*/ void SwDoc::MakeUniqueBookmarkName( String& /*rNm*/ ) /*N*/ { /*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 ASSERT( rNm.Len(), "es sollte ein Name vorgegeben werden!" ); /*N*/ } @@ -189,8 +189,8 @@ namespace binfilter { /* */ /*N*/ SaveBookmark::SaveBookmark( int eType, const SwBookmark& rBkmk, -/*N*/ const SwNodeIndex & rMvPos, -/*N*/ const SwIndex* pIdx ) +/*N*/ const SwNodeIndex& /*rMvPos*/, +/*N*/ const SwIndex* /*pIdx*/ ) /*N*/ : aName( rBkmk.GetName() ), aShortName( rBkmk.GetShortName() ), /*N*/ aCode( rBkmk.GetKeyCode() ), eBkmkType( (SaveBookmarkType)eType ), /*N*/ eOrigBkmType(rBkmk.GetType()) diff --git a/binfilter/bf_sw/source/core/doc/sw_docchart.cxx b/binfilter/bf_sw/source/core/doc/sw_docchart.cxx index af2a606..770886f 100644 --- a/binfilter/bf_sw/source/core/doc/sw_docchart.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_docchart.cxx @@ -344,7 +344,7 @@ namespace binfilter { /*N*/ } -/*N*/ void SwDoc::SetTableName( SwFrmFmt& rTblFmt, const String &rNewName ) +/*N*/ void SwDoc::SetTableName( SwFrmFmt& /*rTblFmt*/, const String& /*rNewName*/ ) /*N*/ { DBG_BF_ASSERT(0, "STRIP"); //STRIP001 const String aOldName( rTblFmt.GetName() ); /*N*/ } diff --git a/binfilter/bf_sw/source/core/doc/sw_docdde.cxx b/binfilter/bf_sw/source/core/doc/sw_docdde.cxx index 383b012..9b1fc16 100644 --- a/binfilter/bf_sw/source/core/doc/sw_docdde.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_docdde.cxx @@ -68,7 +68,7 @@ struct _FindItem }; -/*N*/ BOOL lcl_FindBookmark( const SwBookmarkPtr& rpBkmk, void* pArgs ) +/*N*/ BOOL lcl_FindBookmark( const SwBookmarkPtr& /*rpBkmk*/, void* /*pArgs*/ ) /*N*/ { /*N*/ BOOL bRet = TRUE; DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*N*/ return bRet; diff --git a/binfilter/bf_sw/source/core/doc/sw_docdesc.cxx b/binfilter/bf_sw/source/core/doc/sw_docdesc.cxx index 9fe0a09..3f2db13 100644 --- a/binfilter/bf_sw/source/core/doc/sw_docdesc.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_docdesc.cxx @@ -782,7 +782,7 @@ extern SvPtrarr *pGlobalOLEExcludeList; /*N*/ } /*N*/ } -/*N*/ void SwDoc::SetVirDev( VirtualDevice* pVd, sal_Bool bCallVirDevDataChanged ) +/*N*/ void SwDoc::SetVirDev( VirtualDevice* pVd, sal_Bool /*bCallVirDevDataChanged*/ ) /*N*/ { /*N*/ if ( (ULONG)pVirDev != (ULONG)pVd ) /*N*/ { diff --git a/binfilter/bf_sw/source/core/doc/sw_docdraw.cxx b/binfilter/bf_sw/source/core/doc/sw_docdraw.cxx index 0f95b6d..38a638f 100644 --- a/binfilter/bf_sw/source/core/doc/sw_docdraw.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_docdraw.cxx @@ -87,7 +87,7 @@ using namespace ::com::sun::star::linguistic2; |* |*************************************************************************/ -/*N*/ SwDrawContact* SwDoc::GroupSelection( SdrView& rDrawView ) +/*N*/ SwDrawContact* SwDoc::GroupSelection( SdrView& /*rDrawView*/ ) /*N*/ { // OD 30.06.2003 #108784# - replace marked 'virtual' drawing objects by // the corresponding 'master' drawing objects. @@ -95,7 +95,7 @@ DBG_BF_ASSERT(0, "STRIP"); return NULL; //STRIP001 SwDrawView::ReplaceMarkedD /*N*/ } -/*N*/ void SwDoc::UnGroupSelection( SdrView& rDrawView ) +/*N*/ void SwDoc::UnGroupSelection( SdrView& /*rDrawView*/ ) /*N*/ { /*N*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 int bUndo = DoesUndo(); /*N*/ } @@ -150,7 +150,9 @@ DBG_BF_ASSERT(0, "STRIP"); return NULL; //STRIP001 SwDrawView::ReplaceMarkedD /*N*/ nOrdNum = ((SwDrawContact*)aIter())->GetMaster()->GetOrdNum(); /*N*/ } /*N*/ else + { /*N*/ ASSERT( !this, "was ist das fuer ein Format?" ); + } /*N*/ } } //namespace binfilter /*************************************************************************/ @@ -413,11 +415,11 @@ SdrLayerID SwDoc::GetInvisibleLayerIdByVisibleOne( const SdrLayerID& _nVisibleLa /*N*/ } -/*************************************************************************/ -/* -/* Am Outliner Link auf Methode fuer Felddarstellung in Editobjekten setzen -/* -/*************************************************************************/ +/************************************************************************* +|* +|* Am Outliner Link auf Methode fuer Felddarstellung in Editobjekten setzen +|* +\*************************************************************************/ /*N*/ void SwDoc::SetCalcFieldValueHdl(Outliner* pOutliner) /*N*/ { @@ -430,7 +432,7 @@ SdrLayerID SwDoc::GetInvisibleLayerIdByVisibleOne( const SdrLayerID& _nVisibleLa |* \************************************************************************/ -/*N*/ IMPL_LINK(SwDoc, CalcFieldValueHdl, EditFieldInfo*, pInfo) +/*N*/ IMPL_LINK(SwDoc, CalcFieldValueHdl, EditFieldInfo*, /*pInfo*/) /*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*N*/ return(0); /*N*/ } diff --git a/binfilter/bf_sw/source/core/doc/sw_docedt.cxx b/binfilter/bf_sw/source/core/doc/sw_docedt.cxx index 0edfc01..0a19f58 100644 --- a/binfilter/bf_sw/source/core/doc/sw_docedt.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_docedt.cxx @@ -530,7 +530,7 @@ SV_IMPL_PTRARR( SaveBookmarks, SaveBookmark* ) -/*N*/ sal_Bool SwDoc::Replace( SwPaM& rPam, const String& rStr, sal_Bool bRegExpRplc ) +/*N*/ sal_Bool SwDoc::Replace( SwPaM& /*rPam*/, const String& /*rStr*/, sal_Bool /*bRegExpRplc*/ ) /*N*/ { DBG_BF_ASSERT(0, "STRIP"); //STRIP001 if( !rPam.HasMark() || *rPam.GetPoint() == *rPam.GetMark() ) /*N*/ return sal_True; diff --git a/binfilter/bf_sw/source/core/doc/sw_docfld.cxx b/binfilter/bf_sw/source/core/doc/sw_docfld.cxx index 9c23f3b..5b8fc0f 100644 --- a/binfilter/bf_sw/source/core/doc/sw_docfld.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_docfld.cxx @@ -265,7 +265,7 @@ extern BOOL IsFrameBehind( const SwTxtNode& rMyNd, USHORT nMySttPos, * Alle sollen neu evaluiert werden. */ -/*N*/ void SwDoc::UpdateFlds( SfxPoolItem *pNewHt, BOOL bCloseDB ) +/*N*/ void SwDoc::UpdateFlds( SfxPoolItem* /*pNewHt*/, BOOL /*bCloseDB*/ ) /*N*/ { /*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 // Modify() fuer jeden Feldtypen rufen, /*N*/ } @@ -677,7 +677,7 @@ extern BOOL IsFrameBehind( const SwTxtNode& rMyNd, USHORT nMySttPos, Beschreibung: --------------------------------------------------------------------*/ -/*N*/ void lcl_CalcFld( SwDoc& rDoc, SwCalc& rCalc, const _SetGetExpFld& rSGEFld, +/*N*/ void lcl_CalcFld( SwDoc& /*rDo*/c, SwCalc& /*rCalc*/, const _SetGetExpFld& rSGEFld, /*N*/ SwNewDBMgr* pMgr ) /*N*/ { /*N*/ const SwTxtFld* pTxtFld = rSGEFld.GetFld(); diff --git a/binfilter/bf_sw/source/core/doc/sw_docfly.cxx b/binfilter/bf_sw/source/core/doc/sw_docfly.cxx index 48b5849..6bac85c 100644 --- a/binfilter/bf_sw/source/core/doc/sw_docfly.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_docfly.cxx @@ -823,14 +823,14 @@ extern USHORT GetHtmlMode( const SwDocShell* ); /* -----------------23.07.98 13:56------------------- * * --------------------------------------------------*/ -/*N*/ int SwDoc::Chain( SwFrmFmt &rSource, const SwFrmFmt &rDest ) +/*N*/ int SwDoc::Chain( SwFrmFmt& /*rSource*/, const SwFrmFmt& /*rDest*/ ) /*N*/ { /*?*/ DBG_BF_ASSERT(0, "STRIP"); return 0; //STRIP001 int nErr = Chainable( rSource, rDest ); /*N*/ } /* -----------------23.07.98 13:56------------------- * * --------------------------------------------------*/ -/*N*/ void SwDoc::Unchain( SwFrmFmt &rFmt ) +/*N*/ void SwDoc::Unchain( SwFrmFmt& /*rFmt*/ ) /*N*/ { DBG_BF_ASSERT(0, "STRIP"); //STRIP001 SwFmtChain aChain( rFmt.GetChain() ); /*N*/ } diff --git a/binfilter/bf_sw/source/core/doc/sw_docfmt.cxx b/binfilter/bf_sw/source/core/doc/sw_docfmt.cxx index 5fc567e..cb23604 100644 --- a/binfilter/bf_sw/source/core/doc/sw_docfmt.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_docfmt.cxx @@ -917,7 +917,7 @@ void SwDoc::DelCharFmt( SwCharFmt *pFmt ) /*N*/ } -/*N*/ USHORT SwDoc::GetTblFrmFmtCount(BOOL bUsed) const +/*N*/ USHORT SwDoc::GetTblFrmFmtCount(BOOL /*bUsed*/) const /*N*/ { /*?*/ DBG_BF_ASSERT(0, "STRIP"); return 0;//STRIP001 USHORT nCount = pTblFrmFmtTbl->Count(); /*N*/ } diff --git a/binfilter/bf_sw/source/core/doc/sw_docftn.cxx b/binfilter/bf_sw/source/core/doc/sw_docftn.cxx index bd87088..383fe0f 100644 --- a/binfilter/bf_sw/source/core/doc/sw_docftn.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_docftn.cxx @@ -151,7 +151,7 @@ namespace binfilter { /*N*/ pDesc->Add( &((SwClient&)aPageDescDep) ); /*N*/ } -/*N*/ void SwEndNoteInfo::SetFtnTxtColl(SwTxtFmtColl& rFmt) +/*N*/ void SwEndNoteInfo::SetFtnTxtColl(SwTxtFmtColl& /*rFmt*/) /*N*/ { /*N*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 rFmt.Add(this); /*N*/ } diff --git a/binfilter/bf_sw/source/core/doc/sw_doclay.cxx b/binfilter/bf_sw/source/core/doc/sw_doclay.cxx index 153c19a..1f730b4 100644 --- a/binfilter/bf_sw/source/core/doc/sw_doclay.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_doclay.cxx @@ -104,7 +104,7 @@ static bool lcl_IsItemSet(const SwCntntNode & rNode, USHORT which) |* |*************************************************************************/ -/*N*/ SwFrmFmt *SwDoc::MakeLayoutFmt( RndStdIds eRequest, SwFrmFmt* pFrmFmt, +/*N*/ SwFrmFmt *SwDoc::MakeLayoutFmt( RndStdIds eRequest, SwFrmFmt* /*pFrmFmt*/, /*N*/ const SfxItemSet* pSet ) /*N*/ { /*N*/ SwFrmFmt *pFmt = 0; @@ -160,7 +160,7 @@ static bool lcl_IsItemSet(const SwCntntNode & rNode, USHORT which) /*N*/ /*N*/ case RND_DRAW_OBJECT: /*N*/ { -/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 pFmt = MakeDrawFrmFmt( aEmptyStr, GetDfltFrmFmt() ); +/*?*/ DBG_BF_ASSERT(0, "STRIP"); /*?*/ } /*?*/ break; /*?*/ @@ -201,11 +201,11 @@ static bool lcl_IsItemSet(const SwCntntNode & rNode, USHORT which) /*N*/ const SwFmtChain &rChain = pFmt->GetChain(); /*N*/ if ( rChain.GetPrev() ) /*N*/ { -/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 SwFmtChain aChain( rChain.GetPrev()->GetChain() ); +/*?*/ DBG_BF_ASSERT(0, "STRIP"); /*N*/ } /*N*/ if ( rChain.GetNext() ) /*N*/ { -/*?*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 SwFmtChain aChain( rChain.GetNext()->GetChain() ); +/*?*/ DBG_BF_ASSERT(0, "STRIP"); /*N*/ } /*N*/ const SwNodeIndex* pCntIdx = pFmt->GetCntnt().GetCntntIdx(); @@ -762,10 +762,10 @@ static bool lcl_IsItemSet(const SwCntntNode & rNode, USHORT which) ---------------------------------------------------------------------------*/ -/*N*/ void SwDoc::GetAllFlyFmts( SwPosFlyFrms& rPosFlyFmts, -/*N*/ const SwPaM* pCmpRange, sal_Bool bDrawAlso ) const +/*N*/ void SwDoc::GetAllFlyFmts( SwPosFlyFrms& /*rPosFlyFmts*/, +/*N*/ const SwPaM* /*pCmpRange*/, sal_Bool /*bDrawAlso*/ ) const /*N*/ { -DBG_BF_ASSERT(0, "STRIP"); //STRIP001 SwPosFlyFrm *pFPos = 0; +DBG_BF_ASSERT(0, "STRIP"); /*N*/ } /************************************************************************* diff --git a/binfilter/bf_sw/source/core/doc/sw_docnum.cxx b/binfilter/bf_sw/source/core/doc/sw_docnum.cxx index ec98c27..2d87b7c 100644 --- a/binfilter/bf_sw/source/core/doc/sw_docnum.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_docnum.cxx @@ -244,7 +244,7 @@ namespace binfilter { /*N*/ } -/*N*/ void lcl_ChgNumRule( SwDoc& rDoc, const SwNumRule& rRule, SwHistory* pHist, +/*N*/ void lcl_ChgNumRule( SwDoc& rDoc, const SwNumRule& rRule, SwHistory* /*pHist*/, /*N*/ SwNumRuleInfo* pRuleInfo = 0 ) /*N*/ { /*N*/ SwNumRule* pOld = rDoc.FindNumRulePtr( rRule.GetName() ); @@ -327,7 +327,7 @@ namespace binfilter { /*N*/ } /*N*/ void SwDoc::SetNumRule( const SwPaM& rPam, const SwNumRule& rRule, -/*N*/ sal_Bool bSetAbsLSpace, sal_Bool bCalledFromShell ) +/*N*/ sal_Bool /*bSetAbsLSpace*/, sal_Bool bCalledFromShell ) /*N*/ { /*N*/ ULONG nPamPos = rPam.Start()->nNode.GetIndex(); /*N*/ BOOL bSetItem = TRUE; @@ -370,7 +370,7 @@ namespace binfilter { /*N*/ SetModified(); /*N*/ } -/*N*/ void SwDoc::SetNumRuleStart( const SwPosition& rPos, BOOL bFlag ) +/*N*/ void SwDoc::SetNumRuleStart( const SwPosition& /*rPos*/, BOOL /*bFlag*/ ) /*N*/ { DBG_BF_ASSERT(0, "STRIP"); //STRIP001 SwTxtNode* pTxtNd = rPos.nNode.GetNode().GetTxtNode(); /*N*/ } @@ -416,7 +416,7 @@ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 SwTxtNode* pTxtNd = rPos.nNode.GetNode(). /*N*/ } /*N*/ } -/*N*/ void SwDoc::StopNumRuleAnimations( OutputDevice* pOut ) +/*N*/ void SwDoc::StopNumRuleAnimations( OutputDevice* /*pOut*/ ) /*N*/ { /*N*/ for( USHORT n = GetNumRuleTbl().Count(); n; ) /*N*/ { @@ -439,7 +439,7 @@ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 SwTxtNode* pTxtNd = rPos.nNode.GetNode(). -/*N*/ BOOL SwDoc::DelNumRules( const SwPaM& rPam ) +/*N*/ BOOL SwDoc::DelNumRules( const SwPaM& /*rPam*/ ) /*N*/ { DBG_BF_ASSERT(0, "STRIP"); return FALSE;//STRIP001 ULONG nStt = rPam.GetPoint()->nNode.GetIndex(), /*N*/ } diff --git a/binfilter/bf_sw/source/core/doc/sw_docredln.cxx b/binfilter/bf_sw/source/core/doc/sw_docredln.cxx index 8716452..f07b152 100644 --- a/binfilter/bf_sw/source/core/doc/sw_docredln.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_docredln.cxx @@ -166,16 +166,13 @@ Verhalten von Delete-Redline: ueberlappt */ -/*N*/ BOOL SwDoc::AppendRedline( SwRedline* pNewRedl, BOOL bCallDelete ) +/*N*/ BOOL SwDoc::AppendRedline( SwRedline* /*pNewRedl*/, BOOL /*bCallDelete*/ ) /*N*/ { DBG_BF_ASSERT(0, "STRIP"); return FALSE;//STRIP001 //STRIP001 _CHECK_REDLINE( this ) /*N*/ } - - - -/*N*/ BOOL SwDoc::DeleteRedline( const SwPaM& rRange, BOOL bSaveInUndo, -/*N*/ USHORT nDelType ) +/*N*/ BOOL SwDoc::DeleteRedline( const SwPaM& rRange, BOOL /*bSaveInUndo*/, +/*N*/ USHORT /*nDelType*/ ) /*N*/ { /*N*/ if( REDLINE_IGNOREDELETE_REDLINES & eRedlineMode || /*N*/ !rRange.HasMark() || *rRange.GetMark() == *rRange.GetPoint() ) @@ -207,7 +204,7 @@ DBG_BF_ASSERT(0, "STRIP"); return FALSE;//STRIP001 //STRIP001 _CHECK_REDLINE( t /*N*/ } -/*N*/ USHORT SwDoc::GetRedlinePos( const SwNode& rNd, USHORT nType ) const +/*N*/ USHORT SwDoc::GetRedlinePos( const SwNode& rNd, USHORT /*nType*/ ) const /*N*/ { /*N*/ const ULONG nNdIdx = rNd.GetIndex(); /*N*/ for( USHORT n = 0; n < pRedlineTbl->Count() ; ++n ) @@ -217,7 +214,7 @@ DBG_BF_ASSERT(0, "STRIP"); return FALSE;//STRIP001 //STRIP001 _CHECK_REDLINE( t /*N*/ return USHRT_MAX; /*N*/ } -/*N*/ const SwRedline* SwDoc::GetRedline( const SwPosition& rPos, +/*N*/ const SwRedline* SwDoc::GetRedline( const SwPosition& /*rPos*/, /*N*/ USHORT* pFndPos ) const /*N*/ { /*N*/ register USHORT nO = pRedlineTbl->Count(), nM, nU = 0; @@ -235,20 +232,6 @@ typedef BOOL (*Fn_AcceptReject)( SwRedlineTbl& rArr, USHORT& rPos, const SwPosition* pSttRng, const SwPosition* pEndRng); - - - - - - - - - - - - - - // Kommentar am Redline setzen // legt gebenenfalls einen neuen Author an @@ -402,9 +385,6 @@ typedef BOOL (*Fn_AcceptReject)( SwRedlineTbl& rArr, USHORT& rPos, // Mit dem Lookahead kann die Suche eingeschraenkt werden. 0 oder // USHRT_MAX suchen im gesamten Array. - - - /* */ /*?*/SwRedlineExtraData::~SwRedlineExtraData() @@ -495,12 +475,12 @@ typedef BOOL (*Fn_AcceptReject)( SwRedlineTbl& rArr, USHORT& rPos, /*N*/ } -/*N*/ void SwRedline::Show( USHORT nLoop ) -/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 +/*N*/ void SwRedline::Show( USHORT /*nLoop*/ ) +/*N*/ {DBG_BF_ASSERT(0, "STRIP"); /*N*/ } -/*N*/ void SwRedline::Hide( USHORT nLoop ) -/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 +/*N*/ void SwRedline::Hide( USHORT /*nLoop*/ ) +/*N*/ {DBG_BF_ASSERT(0, "STRIP"); /*N*/ } @@ -512,21 +492,12 @@ typedef BOOL (*Fn_AcceptReject)( SwRedlineTbl& rArr, USHORT& rPos, * text node nNdIdx *************************************************************************/ - - - - - - // fuers Undo -/*N*/ void SwRedline::SetContentIdx( const SwNodeIndex* pIdx ) +/*N*/ void SwRedline::SetContentIdx( const SwNodeIndex* /*pIdx*/ ) /*N*/ { DBG_BF_ASSERT(0, "STRIP"); //STRIP001 //STRIP001 if( pIdx && !pCntntSect ) /*N*/ } - - - USHORT SwRedline::GetStackCount() const { USHORT nRet = 1; diff --git a/binfilter/bf_sw/source/core/doc/sw_docsort.cxx b/binfilter/bf_sw/source/core/doc/sw_docsort.cxx index 5044e35..5df9c2f 100644 --- a/binfilter/bf_sw/source/core/doc/sw_docsort.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_docsort.cxx @@ -107,7 +107,7 @@ using namespace ::com::sun::star::lang; --------------------------------------------------------------------*/ -/*N*/ BOOL SwDoc::SortText(const SwPaM& rPaM, const SwSortOptions& rOpt) +/*N*/ BOOL SwDoc::SortText(const SwPaM& /*rPaM*/, const SwSortOptions& /*rOpt*/) /*N*/ { /*N*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 // pruefen ob Rahmen im Text /*N*/ return TRUE; @@ -117,7 +117,7 @@ using namespace ::com::sun::star::lang; Beschreibung: Tabelle sortieren im Document --------------------------------------------------------------------*/ -/*N*/ BOOL SwDoc::SortTbl(const SwSelBoxes& rBoxes, const SwSortOptions& rOpt) +/*N*/ BOOL SwDoc::SortTbl(const SwSelBoxes& /*rBoxes*/, const SwSortOptions& /*rOpt*/) /*N*/ { /*N*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 // uebers SwDoc fuer Undo !! /*N*/ return TRUE; diff --git a/binfilter/bf_sw/source/core/doc/sw_doctxm.cxx b/binfilter/bf_sw/source/core/doc/sw_doctxm.cxx index f7d7263..ae2404e 100644 --- a/binfilter/bf_sw/source/core/doc/sw_doctxm.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_doctxm.cxx @@ -82,7 +82,7 @@ typedef LinkStruct* LinkStructPtr; Beschreibung: Marke loeschen --------------------------------------------------------------------*/ -/*N*/ void SwDoc::Delete( SwTOXMark* pTOXMark ) +/*N*/ void SwDoc::Delete( SwTOXMark* /*pTOXMark*/ ) /*N*/ { DBG_BF_ASSERT(0, "STRIP"); //STRIP001 // hole den TextNode und /*N*/ } @@ -240,7 +240,7 @@ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 // hole den TextNode und --------------------------------------------------------------------*/ -/*N*/ BOOL SwDoc::DeleteTOX( const SwTOXBase& rTOXBase, BOOL bDelNodes ) +/*N*/ BOOL SwDoc::DeleteTOX( const SwTOXBase& /*rTOXBase*/, BOOL /*bDelNodes*/ ) /*N*/ { /*N*/ DBG_BF_ASSERT(0, "STRIP"); return TRUE;//STRIP001 // its only delete the TOX, not the nodes /*N*/ } @@ -390,8 +390,8 @@ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 // hole den TextNode und Beschreibung: Verzeichnisinhalt zusammensammeln --------------------------------------------------------------------*/ -/*N*/ void SwTOXBaseSection::Update(const SfxItemSet* pAttr, -/*N*/ const bool _bNewTOX ) +/*N*/ void SwTOXBaseSection::Update(const SfxItemSet* /*pAttr*/, +/*N*/ const bool /*_bNewTOX*/ ) /*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*N*/ } diff --git a/binfilter/bf_sw/source/core/doc/sw_fmtcol.cxx b/binfilter/bf_sw/source/core/doc/sw_fmtcol.cxx index 5161dd3..6de1a59 100644 --- a/binfilter/bf_sw/source/core/doc/sw_fmtcol.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_fmtcol.cxx @@ -273,7 +273,7 @@ namespace binfilter { /*N*/ } -/*N*/ int SwCollCondition::operator==( const SwCollCondition& rCmp ) const +/*N*/ int SwCollCondition::operator==( const SwCollCondition& /*rCmp*/ ) const /*N*/ { DBG_BF_ASSERT(0, "STRIP"); return 0;//STRIP001 int nRet = 0; /*N*/ } @@ -310,7 +310,7 @@ DBG_BF_ASSERT(0, "STRIP"); return 0;//STRIP001 int nRet = 0; /*N*/ } -/*N*/ void SwConditionTxtFmtColl::InsertCondition( const SwCollCondition& rCond ) +/*N*/ void SwConditionTxtFmtColl::InsertCondition( const SwCollCondition& /*rCond*/ ) /*N*/ { DBG_BF_ASSERT(0, "STRIP"); //STRIP001 //STRIP001 for( USHORT n = 0; n < aCondColls.Count(); ++n ) /*N*/ } diff --git a/binfilter/bf_sw/source/core/doc/sw_notxtfrm.cxx b/binfilter/bf_sw/source/core/doc/sw_notxtfrm.cxx index 152d5e5..77e0e1e 100644 --- a/binfilter/bf_sw/source/core/doc/sw_notxtfrm.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_notxtfrm.cxx @@ -168,7 +168,7 @@ extern void ClrContourCache( const SdrObject *pObj ); // TxtFly.Cxx |* *************************************************************************/ -/*N*/ void SwNoTxtFrm::Paint( const SwRect &rRect ) const +/*N*/ void SwNoTxtFrm::Paint( const SwRect& /*rRect*/ ) const /*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*N*/ } @@ -300,14 +300,14 @@ extern void ClrContourCache( const SdrObject *pObj ); // TxtFly.Cxx |*************************************************************************/ -/*N*/ BOOL SwNoTxtFrm::GetCharRect( SwRect &rRect, const SwPosition& rPos, -/*N*/ SwCrsrMoveState *pCMS ) const +/*N*/ BOOL SwNoTxtFrm::GetCharRect( SwRect& /*rRect*/, const SwPosition& /*rPos*/, +/*N*/ SwCrsrMoveState* /*pCMS*/ ) const /*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*N*/ return TRUE; /*N*/ } -/*N*/ BOOL SwNoTxtFrm::GetCrsrOfst(SwPosition* pPos, Point& aPoint, +/*N*/ BOOL SwNoTxtFrm::GetCrsrOfst(SwPosition* /*pPos*/, Point& /*aPoint*/, /*N*/ const SwCrsrMoveState* ) const /*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*N*/ return TRUE; diff --git a/binfilter/bf_sw/source/core/doc/sw_number.cxx b/binfilter/bf_sw/source/core/doc/sw_number.cxx index 9834b1b..b084ab2 100644 --- a/binfilter/bf_sw/source/core/doc/sw_number.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_number.cxx @@ -223,7 +223,7 @@ extern const sal_Char __FAR_DATA sBulletFntName[] = "StarSymbol"; /* -----------------------------22.02.01 16:05-------------------------------- ---------------------------------------------------------------------------*/ -/*N*/ void SwNumFmt::SetVertOrient(SvxFrameVertOrient eSet) +/*N*/ void SwNumFmt::SetVertOrient(SvxFrameVertOrient /*eSet*/) /*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*N*/ } /* -----------------------------22.02.01 16:05-------------------------------- diff --git a/binfilter/bf_sw/source/core/doc/sw_poolfmt.cxx b/binfilter/bf_sw/source/core/doc/sw_poolfmt.cxx index 8e4d4f3..5cef08b 100644 --- a/binfilter/bf_sw/source/core/doc/sw_poolfmt.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_poolfmt.cxx @@ -1580,7 +1580,7 @@ static const USHORT aHeadlineSizes[ 2 * MAXLEVEL ] = { /*N*/ } /*N*/ SwNumRule* SwDoc::GetNumRuleFromPool( USHORT nId, String* pDesc, -/*N*/ SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric ) +/*N*/ SfxItemPresentation /*ePres*/, SfxMapUnit /*eCoreMetric*/, SfxMapUnit /*ePresMetric*/ ) /*N*/ { /*N*/ ASSERT( RES_POOLNUMRULE_BEGIN <= nId && nId < RES_POOLNUMRULE_END, /*N*/ "Falsche AutoFormat-Id" ); diff --git a/binfilter/bf_sw/source/core/doc/sw_swtable.cxx b/binfilter/bf_sw/source/core/doc/sw_swtable.cxx index f62981b..1acfd28 100644 --- a/binfilter/bf_sw/source/core/doc/sw_swtable.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_swtable.cxx @@ -277,8 +277,8 @@ namespace binfilter { #endif -/*N*/ void SwTable::GetTabCols( SwTabCols &rToFill, const SwTableBox *pStart, -/*N*/ bool bRefreshHidden, BOOL bCurRowOnly ) const +/*N*/ void SwTable::GetTabCols( SwTabCols& /*rToFill*/, const SwTableBox* /*pStart*/, +/*N*/ bool /*bRefreshHidden*/, BOOL /*bCurRowOnly*/ ) const /*N*/ { /*N*/ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 //MA 30. Nov. 95: Opt: wenn bHidden gesetzt ist, wird neu das Hidden /*N*/ } @@ -307,7 +307,7 @@ namespace binfilter { /************************************************************************* |* -|* const SwTableBox* SwTable::GetTblBox( const Strn¡ng& rName ) const +|* const SwTableBox* SwTable::GetTblBox( const Strn?ng& rName ) const |* gebe den Pointer auf die benannte Box zurueck. |* |* Ersterstellung JP 30. Jun. 93 diff --git a/binfilter/bf_sw/source/core/doc/sw_tblrwcl.cxx b/binfilter/bf_sw/source/core/doc/sw_tblrwcl.cxx index ab02235..1be5f13 100644 --- a/binfilter/bf_sw/source/core/doc/sw_tblrwcl.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_tblrwcl.cxx @@ -1022,7 +1022,7 @@ BOOL lcl_Merge_MoveLine( const _FndLine*& rpFndLine, void* pPara ) // suche ab dieser Line nach der naechsten Box mit Inhalt // suche ab dieser Line nach der naechsten Box mit Inhalt -BOOL lcl_BoxSetHeadCondColl( const SwTableBox*& rpBox, void* pPara ) +BOOL lcl_BoxSetHeadCondColl( const SwTableBox*& rpBox, void* /*pPara*/ ) { // in der HeadLine sind die Absaetze mit BedingtenVorlage anzupassen const SwStartNode* pSttNd = rpBox->GetSttNd(); @@ -1033,7 +1033,7 @@ BOOL lcl_BoxSetHeadCondColl( const SwTableBox*& rpBox, void* pPara ) return TRUE; } -BOOL lcl_LineSetHeadCondColl( const SwTableLine*& rpLine, void* pPara ) +BOOL lcl_LineSetHeadCondColl( const SwTableLine*& rpLine, void* /*pPara*/ ) { ((SwTableLine*)rpLine)->GetTabBoxes().ForEach( &lcl_BoxSetHeadCondColl, 0 ); return TRUE; diff --git a/binfilter/bf_sw/source/core/doc/sw_visiturl.cxx b/binfilter/bf_sw/source/core/doc/sw_visiturl.cxx index c3ad467..a8c7442 100644 --- a/binfilter/bf_sw/source/core/doc/sw_visiturl.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_visiturl.cxx @@ -60,7 +60,7 @@ namespace binfilter { /*N*/ EndListening( *INetURLHistory::GetOrCreate() ); /*N*/ } -/*N*/ void SwURLStateChanged::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) +/*N*/ void SwURLStateChanged::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint ) /*N*/ { /*N*/ if( rHint.ISA( INetURLHistoryHint ) && pDoc->GetRootFrm() ) /*N*/ { -- 1.7.1
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice