[PATCH 03/16] fix warning unused var in binfilter bf_sw crsr
Pierre-André Jacquod
pjacquod at alumni.ethz.ch
Sat Dec 4 02:12:21 PST 2010
this is fixing warning, not optimizing. This means, some functions call
have be left, even if it is possible they are not needed any more
---
binfilter/bf_sw/source/core/crsr/sw_crsrsh.cxx | 34 ++-------------------
binfilter/bf_sw/source/core/crsr/sw_findattr.cxx | 16 ++++++----
binfilter/bf_sw/source/core/crsr/sw_findcoll.cxx | 17 +++--------
binfilter/bf_sw/source/core/crsr/sw_findtxt.cxx | 23 ++++-----------
binfilter/bf_sw/source/core/crsr/sw_pam.cxx | 19 +++++-------
binfilter/bf_sw/source/core/crsr/sw_swcrsr.cxx | 32 ++++++++++----------
binfilter/bf_sw/source/core/crsr/sw_trvlreg.cxx | 16 +++++-----
binfilter/bf_sw/source/core/crsr/sw_trvltbl.cxx | 14 ++++----
binfilter/bf_sw/source/core/crsr/sw_unocrsr.cxx | 19 +-----------
9 files changed, 65 insertions(+), 125 deletions(-)
diff --git a/binfilter/bf_sw/source/core/crsr/sw_crsrsh.cxx b/binfilter/bf_sw/source/core/crsr/sw_crsrsh.cxx
index 17da949..dd19e9b 100644
--- a/binfilter/bf_sw/source/core/crsr/sw_crsrsh.cxx
+++ b/binfilter/bf_sw/source/core/crsr/sw_crsrsh.cxx
@@ -117,11 +117,11 @@ using namespace ::com::sun::star::util;
// gebe den aktuellen zurueck
-/*N*/ SwPaM* SwCrsrShell::GetCrsr( bool bMakeTblCrsr ) const
+/*N*/ SwPaM* SwCrsrShell::GetCrsr( bool /*bMakeTblCrsr*/ ) const
/*N*/ {
/*N*/ if( pTblCrsr )
/*N*/ {
-DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*?*/ if( bMakeTblCrsr && pTblCrsr->IsCrsrMovedUpdt() )
+ DBG_BF_ASSERT(0, "STRIP");
/*N*/ }
/*N*/ return pCurCrsr;
/*N*/ }
@@ -148,19 +148,7 @@ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*?*/ if( bMakeTblCrsr && pTblCrsr->IsC
/*N*/ void SwCrsrShell::EndAction( const BOOL bIdleEnd )
/*N*/ {
-/*
-//OS: Wird z.B. eine Basic-Action im Hintergrund ausgefuehrt, geht es so nicht
- if( !bHasFocus )
- {
- // hat die Shell nicht den Focus, dann nur das EndAction an
- // die ViewShell weitergeben.
- ViewShell::EndAction( bIdleEnd );
- return;
- }
-*/
-
/*N*/ bool bVis = bSVCrsrVis;
-
// Idle-Formatierung ?
/*N*/ if( bIdleEnd && Imp()->GetRegion() )
/*N*/ {
@@ -209,7 +197,7 @@ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*?*/ if( bMakeTblCrsr && pTblCrsr->IsC
/*?*/ // der Cursor geupdatet werden; um z.B. den
/*?*/ // TabellenCursor zu erzeugen. Im UpdateCrsr wird
/*?*/ // das jetzt beruecksichtigt!
-DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*?*/ UpdateCrsr( SwCrsrShell::CHKRANGE, bIdleEnd );
+ DBG_BF_ASSERT(0, "STRIP");
/*N*/ }
/*N*/ return;
/*N*/ }
@@ -294,7 +282,6 @@ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*?*/ UpdateCrsr( SwCrsrShell::CHKRANG
/*M*/
/*M*/ // erfrage den Count fuer die Start-/End-Actions und ob die Shell
/*M*/ // ueberhaupt den Focus hat
-/*M*/ // if( ActionPend() /*|| !bHasFocus*/ )
/*M*/ //JP 12.01.98: Bug #46496# - es muss innerhalb einer BasicAction der
/*M*/ // Cursor geupdatet werden; um z.B. den TabellenCursor zu
/*M*/ // erzeugen. Im EndAction wird jetzt das UpdateCrsr gerufen!
@@ -324,8 +311,7 @@ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*?*/ UpdateCrsr( SwCrsrShell::CHKRANG
/*M*/ pDoc->IsIdxInTbl( pTstCrsr->GetPoint()->nNode ) &&
/*M*/ ( pTblCrsr ||
/*M*/ pTstCrsr->GetNode( TRUE )->FindStartNode() !=
-/*M*/ pTstCrsr->GetNode( FALSE )->FindStartNode() ))
-/*M*/ /*|| ( !pTblCrsr && lcl_IsInValueBox( *pTstCrsr, *this ) )*/ )
+/*M*/ pTstCrsr->GetNode( FALSE )->FindStartNode() )) )
/*M*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001
/*M*/ }
/*M*/
@@ -557,12 +543,8 @@ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*?*/ UpdateCrsr( SwCrsrShell::CHKRANG
/*M*/ pVisCrsr->Show(); // wieder anzeigen
/*M*/ }
-
-
// erzeuge eine Kopie vom Cursor und speicher diese im Stack
-
-
/*
* Loescht einen Cursor (gesteuert durch bOldCrsr)
* - vom Stack oder ( bOldCrsr = TRUE )
@@ -572,18 +554,12 @@ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*?*/ UpdateCrsr( SwCrsrShell::CHKRANG
*/
-
/*
* Verbinde zwei Cursor miteinander.
* Loesche vom Stack den obersten und setzen dessen GetMark im Aktuellen.
*/
-
-
-
-
-
/*N*/ void SwCrsrShell::ShowCrsrs( BOOL bCrsrVis )
/*N*/ {
/*N*/ if( !bHasFocus || bAllProtect || bBasicHideCrsr )
@@ -797,8 +773,6 @@ DBG_BF_ASSERT(0, "STRIP"); //STRIP001 /*?*/ UpdateCrsr( SwCrsrShell::CHKRANG
#if defined(DBG_UTIL) || defined(WIN)
-
-
/*N*/ SwCursor* SwCrsrShell::GetSwCrsr( bool bMakeTblCrsr ) const
/*N*/ {
/*N*/ return (SwCursor*)GetCrsr( bMakeTblCrsr );
diff --git a/binfilter/bf_sw/source/core/crsr/sw_findattr.cxx b/binfilter/bf_sw/source/core/crsr/sw_findattr.cxx
index 03d2972..24d7af4 100644
--- a/binfilter/bf_sw/source/core/crsr/sw_findattr.cxx
+++ b/binfilter/bf_sw/source/core/crsr/sw_findattr.cxx
@@ -53,16 +53,18 @@ using namespace ::com::sun::star::util;
// Sonderbehandlung fuer SvxFontItem, nur den Namen vergleichen:
-/*N*/ const SwTxtAttr* GetFrwrdTxtHint( const SwpHints& rHtsArr, USHORT& rPos,
-/*N*/ xub_StrLen nCntntPos )
-/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001
-/*N*/ return 0; // kein gueltiges TextAttribut
+/*N*/ const SwTxtAttr* GetFrwrdTxtHint( const SwpHints& /*rHtsArr*/, USHORT& /*rPos*/,
+/*N*/ xub_StrLen /*nCntntPos*/ )
+/*N*/ {
+ DBG_BF_ASSERT(0, "STRIP"); //STRIP001
+/*N*/ return 0; // kein gueltiges TextAttribut
/*N*/ }
-/*N*/ const SwTxtAttr* GetBkwrdTxtHint( const SwpHints& rHtsArr, USHORT& rPos,
-/*N*/ xub_StrLen nCntntPos )
-/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001
+/*N*/ const SwTxtAttr* GetBkwrdTxtHint( const SwpHints& /*rHtsArr*/, USHORT& /*rPos*/,
+/*N*/ xub_StrLen /*nCntntPos*/ )
+/*N*/ {
+ DBG_BF_ASSERT(0, "STRIP"); //STRIP001
/*N*/ return 0; // kein gueltiges TextAttribut
/*N*/ }
diff --git a/binfilter/bf_sw/source/core/crsr/sw_findcoll.cxx b/binfilter/bf_sw/source/core/crsr/sw_findcoll.cxx
index c9eeb70..47805a1 100644
--- a/binfilter/bf_sw/source/core/crsr/sw_findcoll.cxx
+++ b/binfilter/bf_sw/source/core/crsr/sw_findcoll.cxx
@@ -45,22 +45,15 @@ namespace binfilter {
// Parameter fuer das Suchen vom FormatCollections
-
-
-
-
// Suchen nach Format-Collections
-/*M*/ ULONG SwCursor::Find( const SwTxtFmtColl& rFmtColl,
-/*M*/ SwDocPositions nStart, SwDocPositions nEnde, BOOL& bCancel,
-/*M*/ FindRanges eFndRngs, const SwTxtFmtColl* pReplFmtColl )
-/*M*/ {DBG_BF_ASSERT(0, "STRIP");return 0;//STRIP001
-/*M*/ // OLE-Benachrichtigung abschalten !!
+/*M*/ ULONG SwCursor::Find( const SwTxtFmtColl& /*rFmtColl*/,
+/*M*/ SwDocPositions /*nStart*/, SwDocPositions /*nEnde*/, BOOL& /*bCancel*/,
+/*M*/ FindRanges /*eFndRngs*/, const SwTxtFmtColl* /*pReplFmtColl*/ )
+/*M*/ {
+ DBG_BF_ASSERT(0, "STRIP");return 0; // OLE-Benachrichtigung abschalten !!
/*M*/ }
-
-
-
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binfilter/bf_sw/source/core/crsr/sw_findtxt.cxx b/binfilter/bf_sw/source/core/crsr/sw_findtxt.cxx
index 6807521..fe03565 100644
--- a/binfilter/bf_sw/source/core/crsr/sw_findtxt.cxx
+++ b/binfilter/bf_sw/source/core/crsr/sw_findtxt.cxx
@@ -46,27 +46,16 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::util;
-
-
-
-
-
// Parameter fuers Suchen und Ersetzen von Text
-
-
-
-
-/*M*/ ULONG SwCursor::Find( const SearchOptions& rSearchOpt,
-/*M*/ SwDocPositions nStart, SwDocPositions nEnde,
-/*M*/ BOOL& bCancel,
-/*M*/ FindRanges eFndRngs, int bReplace )
-/*M*/ {DBG_BF_ASSERT(0, "STRIP"); return 0;//STRIP001
+/*M*/ ULONG SwCursor::Find( const SearchOptions& /*rSearchOpt*/,
+/*M*/ SwDocPositions /*nStart*/, SwDocPositions /*nEnde*/,
+/*M*/ BOOL& /*bCancel*/,
+/*M*/ FindRanges /*eFndRngs*/, int /*bReplace*/ )
+/*M*/ {
+ DBG_BF_ASSERT(0, "STRIP"); return 0;
/*M*/ }
-
-
-
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binfilter/bf_sw/source/core/crsr/sw_pam.cxx b/binfilter/bf_sw/source/core/crsr/sw_pam.cxx
index 7b28017..c5adc76 100644
--- a/binfilter/bf_sw/source/core/crsr/sw_pam.cxx
+++ b/binfilter/bf_sw/source/core/crsr/sw_pam.cxx
@@ -514,14 +514,14 @@ enum CHKSECTION { Chk_Both, Chk_One, Chk_None };
/*N*/ }
-/*N*/ void GoStartSection( SwPosition * pPos )
-/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001
+/*N*/ void GoStartSection( SwPosition* /*pPos*/ )
+/*N*/ {DBG_BF_ASSERT(0, "STRIP");
/*N*/ }
// gehe an das Ende der akt. Grund-Section
-/*N*/ void GoEndSection( SwPosition * pPos )
+/*N*/ void GoEndSection( SwPosition* /*pPos*/ )
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001
/*N*/ }
@@ -534,7 +534,7 @@ enum CHKSECTION { Chk_Both, Chk_One, Chk_None };
/*N*/ }
-/*N*/ bool GoInSection( SwPaM & rPam, SwMoveFn fnMove )
+/*N*/ bool GoInSection( SwPaM & /*rPam*/, SwMoveFn /*fnMove*/ )
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001
/*N*/ return TRUE;
/*N*/ }
@@ -558,14 +558,14 @@ enum CHKSECTION { Chk_Both, Chk_One, Chk_None };
/*N*/ return GoInNode( rPam, fnMove );
/*N*/ }
-/*N*/ bool GoInCntntCells( SwPaM & rPam, SwMoveFn fnMove )
+/*N*/ bool GoInCntntCells( SwPaM & /*rPam*/, SwMoveFn /*fnMove*/ )
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); return FALSE;//STRIP001
/*N*/ }
// --------- Funktionsdefinitionen fuer die SwCrsrShell --------------
-/*N*/ bool GoPrevPara( SwPaM & rPam, SwPosPara aPosPara )
+/*N*/ bool GoPrevPara( SwPaM & /*rPam*/, SwPosPara /*aPosPara*/)
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001
/*N*/ return FALSE;
/*N*/ }
@@ -636,20 +636,17 @@ enum CHKSECTION { Chk_Both, Chk_One, Chk_None };
/*N*/ }
-/*N*/ bool GoNextSection( SwPaM & rPam, SwMoveFn fnMove )
+/*N*/ bool GoNextSection( SwPaM & /*rPam*/, SwMoveFn /*fnMove*/ )
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001
/*N*/ return TRUE;
/*N*/ }
-/*N*/ bool GoPrevSection( SwPaM & rPam, SwMoveFn fnMove )
+/*N*/ bool GoPrevSection( SwPaM & /*rPam*/, SwMoveFn /*fnMove*/ )
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001
/*N*/ return TRUE;
/*N*/ }
-
-
-
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binfilter/bf_sw/source/core/crsr/sw_swcrsr.cxx b/binfilter/bf_sw/source/core/crsr/sw_swcrsr.cxx
index abd1471..facbec1 100644
--- a/binfilter/bf_sw/source/core/crsr/sw_swcrsr.cxx
+++ b/binfilter/bf_sw/source/core/crsr/sw_swcrsr.cxx
@@ -272,10 +272,10 @@ struct _PercentHdl
#define IDX aCellStt
#endif
-/*N*/ bool SwCursor::IsInProtectTable( bool bMove, bool bChgCrsr )
+/*N*/ bool SwCursor::IsInProtectTable( bool bMove, bool /*bChgCrsr*/ )
/*N*/ {
/*N*/ // stehe ich in einer Tabelle ??
-/*N*/ SwDoc* pDoc = GetDoc();
+/*N*/ GetDoc();
/*N*/ SwCntntNode* pCNd = GetCntntNode();
/*N*/ if( !pCNd || pSavePos->nNode == GetPoint()->nNode.GetIndex() ||
/*N*/ !pCNd->FindTableNode() ||
@@ -307,9 +307,9 @@ struct _PercentHdl
/*N*/ }
// TRUE: an die Position kann der Cursor gesetzt werden
-/*N*/ bool SwCursor::IsAtValidPos( BOOL bPoint ) const
+/*N*/ bool SwCursor::IsAtValidPos( BOOL /*bPoint*/) const
/*N*/ {
-DBG_BF_ASSERT(0, "STRIP"); return FALSE; //STRIP001 const SwDoc* pDoc = GetDoc();
+ DBG_BF_ASSERT(0, "STRIP"); return FALSE;
/*N*/ }
/*N*/ void SwCursor::SaveTblBoxCntnt( const SwPosition* ) {}
@@ -319,9 +319,9 @@ DBG_BF_ASSERT(0, "STRIP"); return FALSE; //STRIP001 const SwDoc* pDoc = GetDoc(
// diese Methode "sucht" fuer alle Anwendungsfaelle, denn in SwFindParas
// steht immer die richtigen Parameter und die entsprechende Find-Methode
-/*M*/ ULONG SwCursor::FindAll( SwFindParas& rParas,
-/*M*/ SwDocPositions nStart, SwDocPositions nEnde,
-/*M*/ FindRanges eFndRngs, BOOL& bCancel )
+/*M*/ ULONG SwCursor::FindAll( SwFindParas& /*rParas*/,
+/*M*/ SwDocPositions /*nStart*/, SwDocPositions /*nEnde*/,
+/*M*/ FindRanges /*eFndRngs*/, BOOL& /*bCancel*/ )
/*M*/ {DBG_BF_ASSERT(0, "STRIP"); return 0;//STRIP001
/*M*/ }
@@ -362,13 +362,13 @@ DBG_BF_ASSERT(0, "STRIP"); return FALSE; //STRIP001 const SwDoc* pDoc = GetDoc(
/*N*/ }
//-----------------------------------------------------------------------------
-/*N*/ bool SwCursor::GoSentence( SentenceMoveType eMoveType )
+/*N*/ bool SwCursor::GoSentence( SentenceMoveType /*eMoveType*/ )
/*N*/ {
-/*?*/ bool bRet = FALSE;DBG_BF_ASSERT(0, "STRIP"); return FALSE;//STRIP001
+/*?*/ DBG_BF_ASSERT(0, "STRIP"); return FALSE;//STRIP001
/*N*/ }
/*N*/ bool SwCursor::LeftRight( BOOL bLeft, USHORT nCnt, USHORT nMode,
-/*N*/ BOOL bVisualAllowed, BOOL bInsertCrsr )
+/*N*/ BOOL /*bVisualAllowed*/, BOOL /*bInsertCrsr*/ )
/*N*/ {
/*N*/ SwTableCursor* pTblCrsr = (SwTableCursor*)*this;
/*N*/ if( pTblCrsr )
@@ -377,7 +377,7 @@ DBG_BF_ASSERT(0, "STRIP"); return FALSE; //STRIP001 const SwDoc* pDoc = GetDoc(
/*N*/
/*N*/ // calculate cursor bidi level
/*N*/ const SwCntntFrm* pSttFrm = NULL;
-/*N*/ SwNode& rNode = GetPoint()->nNode.GetNode();
+/*N*/ GetPoint()->nNode.GetNode();
/*N*/ const BOOL bDoNotSetBidiLevel = 0 != (SwUnoCrsr*)*this;
/*N*/
/*N*/ if ( ! bDoNotSetBidiLevel )
@@ -400,15 +400,15 @@ DBG_BF_ASSERT(0, "STRIP"); return FALSE; //STRIP001 const SwDoc* pDoc = GetDoc(
/*N*/ !IsSelOvr( SELOVER_TOGGLE | SELOVER_CHANGEPOS );
/*N*/ }
-/*N*/ bool SwCursor::UpDown( BOOL bUp, USHORT nCnt,
-/*N*/ Point* pPt, long nUpDownX )
+/*N*/ bool SwCursor::UpDown( BOOL /*bUp*/, USHORT /*nCnt*/,
+/*N*/ Point* /*pPt*/, long /*nUpDownX*/ )
/*N*/ {
-DBG_BF_ASSERT(0, "STRIP"); return FALSE;//STRIP001 SwTableCursor* pTblCrsr = (SwTableCursor*)*this;
+ DBG_BF_ASSERT(0, "STRIP"); return FALSE;
/*N*/ }
-/*N*/ bool SwCursor::GotoTblBox( const String& rName )
+/*N*/ bool SwCursor::GotoTblBox( const String& /*rName*/ )
/*N*/ {
-/*N*/ bool bRet = FALSE;DBG_BF_ASSERT(0, "STRIP"); return FALSE;//STRIP001
+/*N*/ DBG_BF_ASSERT(0, "STRIP"); return FALSE;
/*N*/ }
/*N*/ bool SwCursor::MovePara(SwWhichPara fnWhichPara, SwPosPara fnPosPara )
diff --git a/binfilter/bf_sw/source/core/crsr/sw_trvlreg.cxx b/binfilter/bf_sw/source/core/crsr/sw_trvlreg.cxx
index 9fd921c..cb5e19c 100644
--- a/binfilter/bf_sw/source/core/crsr/sw_trvlreg.cxx
+++ b/binfilter/bf_sw/source/core/crsr/sw_trvlreg.cxx
@@ -39,28 +39,28 @@ namespace binfilter {
-/*N*/ bool GotoPrevRegion( SwPaM& rCurCrsr, SwPosRegion fnPosRegion,
-/*N*/ bool bInReadOnly )
+/*N*/ bool GotoPrevRegion( SwPaM& /*rCurCrsr*/, SwPosRegion /*fnPosRegion*/,
+/*N*/ bool /*bInReadOnly*/ )
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001
/*N*/ return FALSE;
/*N*/ }
-/*N*/ bool GotoNextRegion( SwPaM& rCurCrsr, SwPosRegion fnPosRegion,
-/*N*/ bool bInReadOnly )
+/*N*/ bool GotoNextRegion( SwPaM& /*rCurCrsr*/, SwPosRegion /*fnPosRegion*/,
+/*N*/ bool /*bInReadOnly*/ )
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001
/*N*/ return FALSE;
/*N*/ }
-/*N*/ bool GotoCurrRegion( SwPaM& rCurCrsr, SwPosRegion fnPosRegion,
-/*N*/ bool bInReadOnly )
+/*N*/ bool GotoCurrRegion( SwPaM& /*rCurCrsr*/, SwPosRegion /*fnPosRegion*/,
+/*N*/ bool /*bInReadOnly*/ )
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); return FALSE; //STRIP001
/*N*/ }
-/*N*/ bool GotoCurrRegionAndSkip( SwPaM& rCurCrsr, SwPosRegion fnPosRegion,
-/*N*/ bool bInReadOnly )
+/*N*/ bool GotoCurrRegionAndSkip( SwPaM& /*rCurCrsr*/, SwPosRegion /*fnPosRegion*/,
+/*N*/ bool /*bInReadOnly*/ )
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001
/*N*/ return FALSE;
/*N*/ }
diff --git a/binfilter/bf_sw/source/core/crsr/sw_trvltbl.cxx b/binfilter/bf_sw/source/core/crsr/sw_trvltbl.cxx
index d901e3d..180e4e7 100644
--- a/binfilter/bf_sw/source/core/crsr/sw_trvltbl.cxx
+++ b/binfilter/bf_sw/source/core/crsr/sw_trvltbl.cxx
@@ -62,25 +62,25 @@ namespace binfilter {
// 0 - Idx steht auf/in einer nicht geschuetzten Zelle
// !0 - Node hinter der Tabelle
-/*N*/ bool GotoPrevTable( SwPaM& rCurCrsr, SwPosTable fnPosTbl,
-/*N*/ bool bInReadOnly )
+/*N*/ bool GotoPrevTable( SwPaM& /*rCurCrsr*/, SwPosTable /*fnPosTbl*/,
+/*N*/ bool /*bInReadOnly*/ )
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001
/*N*/ return FALSE;
/*N*/ }
-/*N*/ bool GotoNextTable( SwPaM& rCurCrsr, SwPosTable fnPosTbl,
-/*N*/ bool bInReadOnly )
+/*N*/ bool GotoNextTable( SwPaM& /*rCurCrsr*/, SwPosTable /*fnPosTbl*/,
+/*N*/ bool /*bInReadOnly*/ )
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001
/*N*/ return FALSE;
/*N*/ }
-/*N*/ bool GotoCurrTable( SwPaM& rCurCrsr, SwPosTable fnPosTbl,
-/*N*/ bool bInReadOnly )
+/*N*/ bool GotoCurrTable( SwPaM& /*rCurCrsr*/, SwPosTable /*fnPosTbl*/,
+/*N*/ bool /*bInReadOnly*/ )
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001
/*N*/ return TRUE;
/*N*/ }
-/*N*/ bool SwCursor::MoveTable( SwWhichTable fnWhichTbl, SwPosTable fnPosTbl )
+/*N*/ bool SwCursor::MoveTable( SwWhichTable /*fnWhichTbl*/, SwPosTable /*fnPosTbl*/ )
/*N*/ {
/*N*/ bool bRet = FALSE;DBG_BF_ASSERT(0, "STRIP"); //STRIP001
/*N*/ return bRet;
diff --git a/binfilter/bf_sw/source/core/crsr/sw_unocrsr.cxx b/binfilter/bf_sw/source/core/crsr/sw_unocrsr.cxx
index 43ad86d..f454801 100644
--- a/binfilter/bf_sw/source/core/crsr/sw_unocrsr.cxx
+++ b/binfilter/bf_sw/source/core/crsr/sw_unocrsr.cxx
@@ -79,15 +79,6 @@ namespace binfilter {
/*N*/ SwUnoCrsr::operator SwUnoCrsr* () { return this; }
-/*
-
-SwCursor* SwUnoCrsr::Create( SwPaM* pRing ) const
-{
- return new SwUnoCrsr( *GetPoint(), pRing );
-}
-
-*/
-
/*N*/ bool SwUnoCrsr::IsSelOvr( int eFlags )
/*N*/ {
/*N*/ if( bRemainInSection )
@@ -187,16 +178,10 @@ SwCursor* SwUnoCrsr::Create( SwPaM* pRing ) const
/*N*/ SwUnoTableCrsr::operator SwTableCursor* () { return this; }
/*N*/ SwUnoTableCrsr::operator SwUnoTableCrsr* () { return this; }
-/*
-SwCursor* SwUnoTableCrsr::Create( SwPaM* pRing ) const
-{
- return SwUnoCrsr::Create( pRing );
-}
-*/
-/*N*/ bool SwUnoTableCrsr::IsSelOvr( int eFlags )
+/*N*/ bool SwUnoTableCrsr::IsSelOvr( int /*eFlags*/ )
/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP"); return FALSE;//STRIP001 bool bRet = SwUnoCrsr::IsSelOvr( eFlags );
+/*?*/ DBG_BF_ASSERT(0, "STRIP"); return FALSE;
/*N*/ }
/*N*/ void SwUnoTableCrsr::MakeBoxSels()
--
1.7.1
--------------040400040206020605070204--
More information about the LibreOffice
mailing list