summaryrefslogtreecommitdiff
path: root/helpcompiler/source
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 /helpcompiler/source
parent8a201be240b6d408d15166be7ffc576b9e123634 (diff)
Remove unused SimpleTokenizer_Impl::nLine/nCol
...which are never read; remove thereby unused parameters from functions. Change-Id: I644d2dc1b2d13ae2f932d04243521eef97e67e3e
Diffstat (limited to 'helpcompiler/source')
-rw-r--r--helpcompiler/source/BasCodeTagger.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpcompiler/source/BasCodeTagger.cxx b/helpcompiler/source/BasCodeTagger.cxx
index 6e698f504ce2..782bcdc3ec6a 100644
--- a/helpcompiler/source/BasCodeTagger.cxx
+++ b/helpcompiler/source/BasCodeTagger.cxx
@@ -149,9 +149,9 @@ void BasicCodeTagger::tagParagraph( xmlNodePtr paragraph )
OUString strLine( reinterpret_cast<const sal_Char*>(codeSnippet),
strlen(reinterpret_cast<const char*>(codeSnippet)),
RTL_TEXTENCODING_UTF8 );
- m_Highlighter.notifyChange ( 0, 0, &strLine, 1 );
+ m_Highlighter.notifyChange ( &strLine, 1 );
std::vector<HighlightPortion> portions;
- m_Highlighter.getHighlightPortions( 0, strLine, portions );
+ m_Highlighter.getHighlightPortions( strLine, portions );
for (std::vector<HighlightPortion>::iterator i(portions.begin());
i != portions.end(); ++i)
{