binfilter/bf_sw/source/core/doc/sw_docfmt.cxx | 7 +------ binfilter/bf_sw/source/core/txtnode/sw_txtedt.cxx | 3 +-- binfilter/inc/bf_sw/ndtxt.hxx | 3 +-- 3 files changed, 3 insertions(+), 10 deletions(-)
New commits: commit c56b83c027e6edb681067fd2bffc75ffb4e58c28 Author: Caolán McNamara <caol...@redhat.com> Date: Thu Sep 22 16:35:16 2011 +0100 chop out unused arguments diff --git a/binfilter/bf_sw/source/core/doc/sw_docfmt.cxx b/binfilter/bf_sw/source/core/doc/sw_docfmt.cxx index 39021c2..7445500 100644 --- a/binfilter/bf_sw/source/core/doc/sw_docfmt.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_docfmt.cxx @@ -139,17 +139,12 @@ struct ParaRstFmt /*N*/ if( pTxtNode && pTxtNode->GetpSwpHints() ) /*N*/ { /*N*/ SwIndex aSt( pTxtNode, 0 ); -/*N*/ USHORT nEnd = pTxtNode->Len(); /*N*/ /*N*/ if( &pPara->pSttNd->nNode.GetNode() == pTxtNode && /*N*/ pPara->pSttNd->nContent.GetIndex() ) /*?*/ aSt = pPara->pSttNd->nContent.GetIndex(); /*N*/ -/*N*/ if( &pPara->pEndNd->nNode.GetNode() == rpNd ) -/*N*/ nEnd = pPara->pEndNd->nContent.GetIndex(); -/*N*/ -/*?*/ pTxtNode->RstAttr( aSt, nEnd - aSt.GetIndex(), pPara->nWhich, -/*?*/ pPara->pDelSet, pPara->bInclRefToxMark ); +/*?*/ pTxtNode->RstAttr( aSt ); /*N*/ } /*N*/ return TRUE; /*N*/ } diff --git a/binfilter/bf_sw/source/core/txtnode/sw_txtedt.cxx b/binfilter/bf_sw/source/core/txtnode/sw_txtedt.cxx index fe23c38..3b1e204 100644 --- a/binfilter/bf_sw/source/core/txtnode/sw_txtedt.cxx +++ b/binfilter/bf_sw/source/core/txtnode/sw_txtedt.cxx @@ -158,8 +158,7 @@ bool lcl_IsSkippableWhiteSpace( xub_Unicode cCh ) -/*M*/ void SwTxtNode::RstAttr(const SwIndex &rIdx, xub_StrLen, USHORT, -/*M*/ const SfxItemSet*, BOOL) +/*M*/ void SwTxtNode::RstAttr(const SwIndex &rIdx) /*M*/ { /*M*/ // Attribute? /*M*/ if ( !GetpSwpHints() ) diff --git a/binfilter/inc/bf_sw/ndtxt.hxx b/binfilter/inc/bf_sw/ndtxt.hxx index 72643d7..b64d684 100644 --- a/binfilter/inc/bf_sw/ndtxt.hxx +++ b/binfilter/inc/bf_sw/ndtxt.hxx @@ -142,8 +142,7 @@ public: // loesche alle TextAttribute die als Attribut im Set vorhanden sind // (Set-Pointer != 0 ) oder alle deren Which-Wert mit nWhich mappen // oder wenn Which = 0, alle. - void RstAttr( const SwIndex &rIdx, xub_StrLen nLen, USHORT nWhich = 0, - const SfxItemSet* pSet = 0, BOOL bInclRefToxMark = FALSE ); + void RstAttr( const SwIndex &rIdx ); // loesche das Text-Attribut (muss beim Pool abgemeldet werden!) void DestroyAttr( SwTxtAttr* pAttr );
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits