Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3264

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/64/3264/1

remove code that was commented out many years ago

Change-Id: I45292b157b5ea278ec9e0d9a18bf185276ba78c1
---
M sw/source/core/doc/doc.cxx
M sw/source/core/doc/doccomp.cxx
M sw/source/core/doc/docfld.cxx
3 files changed, 0 insertions(+), 12 deletions(-)



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_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 @@
                             && pSrcTOX->GetType() == pDstTOX->GetType()
                             && pSrcTOX->GetTitle() == pDstTOX->GetTitle()
                             && pSrcTOX->GetTypeName() == pDstTOX->GetTypeName()
-//                          && pSrcTOX->GetTOXName() == pDstTOX->GetTOXName()
                             ;
                 }
                 break;
@@ -1222,7 +1221,6 @@
                     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 @@
 
             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;

-- 
To view, visit https://gerrit.libreoffice.org/3264
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I45292b157b5ea278ec9e0d9a18bf185276ba78c1
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Philipp Riemer <ruderphilipp@gmail.com>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.