sw/source/core/doc/doc.cxx | 4 ---- sw/source/core/doc/doccomp.cxx | 2 -- sw/source/core/doc/docfld.cxx | 6 ------ 3 files changed, 12 deletions(-)
New commits: commit 0a3fc0130166629209e98bea178905085098a8f2 Author: Philipp Riemer <ruderphil...@gmail.com> Date: Sun Apr 7 21:33:17 2013 +0200 remove code that was commented out many years ago Change-Id: I45292b157b5ea278ec9e0d9a18bf185276ba78c1 Reviewed-on: https://gerrit.libreoffice.org/3264 Reviewed-by: Miklos Vajna <vmik...@suse.cz> Tested-by: Miklos Vajna <vmik...@suse.cz> diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx index 084289f..1ec553d 100644 --- a/sw/source/core/doc/doc.cxx +++ b/sw/source/core/doc/doc.cxx @@ -2023,15 +2023,11 @@ static bool lcl_SpellAndGrammarAgain( const SwNodePtr& rpNd, void* pArgs ) static bool lcl_CheckSmartTagsAgain( const SwNodePtr& rpNd, void* ) { SwTxtNode *pTxtNode = (SwTxtNode*)rpNd->GetTxtNode(); -// sal_Bool bOnlyWrong = *(sal_Bool*)pArgs; if( pTxtNode ) { pTxtNode->SetSmartTagDirty( true ); if( pTxtNode->GetSmartTags() ) { -// if ( bOnlyWrong ) // only some smart tag types have been enabled or disabled -// pTxtNode->GetSmartTags()->SetInvalid( 0, STRING_LEN ); -// else // smart tags all have been enabled or disabled pTxtNode->SetSmartTags( NULL ); } } diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx index c1f753a..676a937 100644 --- a/sw/source/core/doc/doccomp.cxx +++ b/sw/source/core/doc/doccomp.cxx @@ -1154,7 +1154,6 @@ bool SwCompareLine::CompareNode( const SwNode& rDstNd, const SwNode& rSrcNd ) && pSrcTOX->GetType() == pDstTOX->GetType() && pSrcTOX->GetTitle() == pDstTOX->GetTitle() && pSrcTOX->GetTypeName() == pDstTOX->GetTypeName() -// && pSrcTOX->GetTOXName() == pDstTOX->GetTOXName() ; } break; @@ -1222,7 +1221,6 @@ String SwCompareLine::GetText() const if( pTOX ) sRet.Append( pTOX->GetTitle() ) .Append( pTOX->GetTypeName() ) -// .Append( pTOX->GetTOXName() ) .Append( OUString::number( pTOX->GetType() )); } break; diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx index 48bec3c4..65222e7 100644 --- a/sw/source/core/doc/docfld.cxx +++ b/sw/source/core/doc/docfld.cxx @@ -1362,12 +1362,6 @@ void SwDoc::UpdateExpFlds( SwTxtFld* pUpdtFld, bool bUpdRefFlds ) const String& rName = pFld->GetTyp()->GetName(); - // Set value for Calculator -//JP 10.02.96: GetValue doesn't make sense here -// ((SwDBField*)pFld)->GetValue(); - -//!OK aCalc.VarChange(aName, ((SwDBField*)pFld)->GetValue(aCalc)); - // Add entry to hash table // Entry present? sal_uInt16 nPos; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits