From 8e48edad588dbbb79c0857c3d8bbfd7434a40594 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 22 Oct 2013 18:15:48 +0200 Subject: Minor clean-up Change-Id: I48280cf6e12a5219adaa34f57323a93d21c3f554 --- include/comphelper/syntaxhighlight.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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) + {} }; ///////////////////////////////////////////////////////////////////////// -- cgit