summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-22 18:15:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-22 18:19:19 +0200
commit8e48edad588dbbb79c0857c3d8bbfd7434a40594 (patch)
tree25ae259b9d9f43bba83b9415e195f01f4864000a /include
parent93e652d1faf6584173161f8ba8ab00003280203e (diff)
Minor clean-up
Change-Id: I48280cf6e12a5219adaa34f57323a93d21c3f554
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/syntaxhighlight.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/comphelper/syntaxhighlight.hxx b/include/comphelper/syntaxhighlight.hxx
index a82986c49429..32790eeda030 100644
--- a/include/comphelper/syntaxhighlight.hxx
+++ b/include/comphelper/syntaxhighlight.hxx
@@ -48,6 +48,11 @@ struct HighlightPortion {
sal_Int32 nBegin;
sal_Int32 nEnd;
TokenTypes tokenType;
+
+ HighlightPortion(
+ sal_Int32 theBegin, sal_Int32 theEnd, TokenTypes theTokenType):
+ nBegin(theBegin), nEnd(theEnd), tokenType(theTokenType)
+ {}
};
/////////////////////////////////////////////////////////////////////////