[Libreoffice-commits] core.git: sw/source
Philipp Riemer
ruderphilipp at gmail.com
Tue Oct 1 01:28:07 PDT 2013
sw/source/core/doc/docftn.cxx | 4 ----
sw/source/core/doc/doctxm.cxx | 2 --
sw/source/core/doc/swserv.cxx | 1 -
3 files changed, 7 deletions(-)
New commits:
commit 623f89b373114b2034319a573184fe727fb1b33d
Author: Philipp Riemer <ruderphilipp at gmail.com>
Date: Thu Sep 26 13:05:22 2013 +0200
remove commented-out code in sw/source/core/doc/
Change-Id: I9b2c39a905b566dc94d5187e0ca2d177390c0b64
Reviewed-on: https://gerrit.libreoffice.org/6075
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos at collabora.co.uk>
diff --git a/sw/source/core/doc/docftn.cxx b/sw/source/core/doc/docftn.cxx
index d50ff9c..b87a8a6 100644
--- a/sw/source/core/doc/docftn.cxx
+++ b/sw/source/core/doc/docftn.cxx
@@ -283,14 +283,11 @@ void SwDoc::SetFtnInfo(const SwFtnInfo& rInfo)
{
std::set<SwRootFrm*> aAllLayouts = GetAllLayouts();//swmod 080304
if ( bFtnPos )
- //pTmpRoot->RemoveFtns();
std::for_each( aAllLayouts.begin(), aAllLayouts.end(),std::mem_fun(&SwRootFrm::AllRemoveFtns));//swmod 080305
else
{
- //pTmpRoot->UpdateFtnNums();
std::for_each( aAllLayouts.begin(), aAllLayouts.end(),std::mem_fun(&SwRootFrm::UpdateFtnNums));//swmod 080304
if ( bFtnDesc )
- //pTmpRoot->CheckFtnPageDescs( FALSE );
std::for_each( aAllLayouts.begin(), aAllLayouts.end(),std::bind2nd(std::mem_fun(&SwRootFrm::CheckFtnPageDescs), sal_False));//swmod 080304
if ( bExtra )
{
@@ -357,7 +354,6 @@ void SwDoc::SetEndNoteInfo(const SwEndNoteInfo& rInfo)
if ( pTmpRoot )
{
if ( bFtnDesc )
- //pTmpRoot->CheckFtnPageDescs( TRUE );
{
std::set<SwRootFrm*> aAllLayouts = GetAllLayouts();
std::for_each( aAllLayouts.begin(), aAllLayouts.end(),std::bind2nd(std::mem_fun(&SwRootFrm::CheckFtnPageDescs), sal_True));//swmod 080304
diff --git a/sw/source/core/doc/doctxm.cxx b/sw/source/core/doc/doctxm.cxx
index 83c90f6..510a890 100644
--- a/sw/source/core/doc/doctxm.cxx
+++ b/sw/source/core/doc/doctxm.cxx
@@ -408,8 +408,6 @@ const SwTOXBaseSection* SwDoc::InsertTableOf( sal_uLong nSttNd, sal_uLong nEndNd
if(pSet)
pFmt->SetFmtAttr(*pSet);
- // --aEnd; // End is inclusive in InsertSection
-
SwSectionNode *const pNewSectionNode =
GetNodes().InsertTextSection(aStt, *pFmt, aSectionData, &rTOX, &aEnd);
if (!pNewSectionNode)
diff --git a/sw/source/core/doc/swserv.cxx b/sw/source/core/doc/swserv.cxx
index 529f23e..6436440 100644
--- a/sw/source/core/doc/swserv.cxx
+++ b/sw/source/core/doc/swserv.cxx
@@ -252,7 +252,6 @@ sal_Bool SwServerObject::IsLinkInServer( const SwBaseLink* pChkLnk ) const
}
}
if( !pChkLnk )
- // *((int*)&eType) = eSave;
((SwServerObject*)this)->eType = eSave;
}
More information about the Libreoffice-commits
mailing list