summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-28 11:38:36 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-10-28 13:48:13 +0100
commitf5e8be8bb1681f0e2494337bc769b33332ef3fff (patch)
tree87c8d679befb417b7691233c5d46d15b951ff61d /svtools
parent8a201be240b6d408d15166be7ffc576b9e123634 (diff)
Remove unused SimpleTokenizer_Impl::nLine/nCol
...which are never read; remove thereby unused parameters from functions. Change-Id: I644d2dc1b2d13ae2f932d04243521eef97e67e3e
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/edit/editsyntaxhighlighter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/edit/editsyntaxhighlighter.cxx b/svtools/source/edit/editsyntaxhighlighter.cxx
index ba1aca286faa..d84fc15e06e0 100644
--- a/svtools/source/edit/editsyntaxhighlighter.cxx
+++ b/svtools/source/edit/editsyntaxhighlighter.cxx
@@ -171,11 +171,11 @@ void MultiLineEditSyntaxHighlight::UpdateData()
for (unsigned int nLine=0; nLine < GetTextEngine()->GetParagraphCount(); nLine++)
{
OUString aLine( GetTextEngine()->GetText( nLine ) );
- aHighlighter.notifyChange( nLine, 0, &aLine, 1 );
+ aHighlighter.notifyChange( &aLine, 1 );
GetTextEngine()->RemoveAttribs( nLine, sal_True );
std::vector<HighlightPortion> aPortions;
- aHighlighter.getHighlightPortions( nLine, aLine, aPortions );
+ aHighlighter.getHighlightPortions( aLine, aPortions );
for (std::vector<HighlightPortion>::iterator i(aPortions.begin());
i != aPortions.end(); ++i)
{