summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/untbl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-29 08:03:43 +0200
committerNoel Grandin <noel@peralex.com>2016-02-29 08:04:06 +0200
commit1a3ace4d098eaea7cae26311330046cd900e21af (patch)
treee40af516375cee0a03a8729459a2497ab97c256a /sw/source/core/undo/untbl.cxx
parent2ac1c2f75e5f020fbb8c2c98b00ef32faa4770aa (diff)
loplugin:unuseddefaultparam in sw (part2)
Change-Id: I7eefd83d7f84c0a6301fd3ba37d77463d809e5f9
Diffstat (limited to 'sw/source/core/undo/untbl.cxx')
-rw-r--r--sw/source/core/undo/untbl.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx
index d13cad2453c6..b2f8564bb241 100644
--- a/sw/source/core/undo/untbl.cxx
+++ b/sw/source/core/undo/untbl.cxx
@@ -3123,7 +3123,7 @@ void SwUndoMergeTable::SaveFormula( SwHistory& rHistory )
pHistory->Move( 0, &rHistory );
}
-void InsertSort( std::vector<sal_uInt16>& rArr, sal_uInt16 nIdx, sal_uInt16* pInsPos )
+void InsertSort( std::vector<sal_uInt16>& rArr, sal_uInt16 nIdx )
{
size_t nO = rArr.size();
size_t nU = 0;
@@ -3147,8 +3147,6 @@ void InsertSort( std::vector<sal_uInt16>& rArr, sal_uInt16 nIdx, sal_uInt16* pIn
}
}
rArr.insert( rArr.begin() + nU, nIdx );
- if( pInsPos )
- *pInsPos = nU;
}
#if OSL_DEBUG_LEVEL > 0