Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/4206
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/06/4206/1
removed commented out code in sw/source/core/edit
Change-Id: I44951e08b196106a5352a8e9b86e695e6a8961b9
---
M sw/source/core/edit/acorrect.cxx
M sw/source/core/edit/autofmt.cxx
M sw/source/core/edit/editsh.cxx
M sw/source/core/edit/edlingu.cxx
M sw/source/core/edit/edsect.cxx
5 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/sw/source/core/edit/acorrect.cxx b/sw/source/core/edit/acorrect.cxx
index 5530dc8..0b3252e 100644
--- a/sw/source/core/edit/acorrect.cxx
+++ b/sw/source/core/edit/acorrect.cxx
@@ -210,7 +210,6 @@
pDoc->Overwrite( *pPam, rTxt );
}
-// pDoc->SetRedlineMode_intern( eOld );
if( bUndoIdInitialized )
{
bUndoIdInitialized = true;
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index 9815c12..c3c28df 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -2311,7 +2311,7 @@
}
else
{
- bNxtEmpty = false; // true;
+ bNxtEmpty = false;
bNxtAlpha = sal_False;
nNxtLevel = 0;
}
diff --git a/sw/source/core/edit/editsh.cxx b/sw/source/core/edit/editsh.cxx
index f4521a3..8e2dbed 100644
--- a/sw/source/core/edit/editsh.cxx
+++ b/sw/source/core/edit/editsh.cxx
@@ -1008,8 +1008,7 @@
void SwEditShell::SetExtTextInputData( const CommandExtTextInputData& rData )
{
const SwPosition& rPos = *GetCrsr()->GetPoint();
- SwExtTextInput* pInput = GetDoc()->GetExtTextInput( rPos.nNode.GetNode()
- /*, rPos.nContent.GetIndex()*/ );
+ SwExtTextInput* pInput = GetDoc()->GetExtTextInput( rPos.nNode.GetNode() );
if( pInput )
{
StartAllAction();
diff --git a/sw/source/core/edit/edlingu.cxx b/sw/source/core/edit/edlingu.cxx
index 8cfc4e6..4702b4f 100644
--- a/sw/source/core/edit/edlingu.cxx
+++ b/sw/source/core/edit/edlingu.cxx
@@ -955,7 +955,6 @@
uno::Reference< linguistic2::XProofreadingIterator > xGCIterator(
mpDoc->GetGCIterator() );
if (xGCIterator.is())
{
-// LanguageType eActLang = (LanguageType)pNode->GetLang( nBegin, nLen );
uno::Reference< lang::XComponent > xDoc( mpDoc->GetDocShell()->GetBaseModel(),
uno::UNO_QUERY );
// Expand the string:
diff --git a/sw/source/core/edit/edsect.cxx b/sw/source/core/edit/edsect.cxx
index f9b8af0..abf91f9 100644
--- a/sw/source/core/edit/edsect.cxx
+++ b/sw/source/core/edit/edsect.cxx
@@ -309,7 +309,6 @@
const SwNode* pReturn = NULL;
// the current position
- // const SwPosition* pCurrentPos = GetCrsr()->GetPoint();
OSL_ENSURE( pCurrentPos != NULL, "Strange, we have no position!" );
const SwNode& rCurrentNode = pCurrentPos->nNode.GetNode();
--
To view, visit https://gerrit.libreoffice.org/4206
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I44951e08b196106a5352a8e9b86e695e6a8961b9
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Philipp Riemer <ruderphilipp@gmail.com>
Context
- [PATCH] removed commented out code in sw/source/core/edit · Philipp Riemer (via Code Review)
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.