summaryrefslogtreecommitdiff
path: root/include/svtools/svparser.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-03-27 12:17:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-03-27 16:51:40 +0200
commitf98040a273b14e8e3f4b7206d4e6c8b93dde262f (patch)
treea8e4d983028a64f319f77b5a9c0d028995bbdf38 /include/svtools/svparser.hxx
parent8100a41597637165f364849e6964fdcf8906e5b7 (diff)
another stab at the ofx infinite rtf loop
Change-Id: I2dcc186fd7118a85e2059d061fc4cac555c96ee8 Reviewed-on: https://gerrit.libreoffice.org/51944 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools/svparser.hxx')
-rw-r--r--include/svtools/svparser.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svtools/svparser.hxx b/include/svtools/svparser.hxx
index 53564c727cdd..bb046d8083f4 100644
--- a/include/svtools/svparser.hxx
+++ b/include/svtools/svparser.hxx
@@ -54,6 +54,7 @@ protected:
sal_uLong nlLinePos; // current column number
std::unique_ptr<SvParser_Impl<T>> pImplData; // internal data
+ long m_nTokenIndex; // current token index to detect loops for seeking backwards
long nTokenValue; // additional value (RTF)
bool bTokenHasValue; // indicates whether nTokenValue is valid
SvParserState eState; // status also in derived classes