summaryrefslogtreecommitdiff
path: root/idlc/inc
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2010-11-07 19:10:44 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2010-11-09 09:43:27 +0100
commit69b25ade5376c4584914fd9f7ffb19a3861a8368 (patch)
tree1cbe92d3fe2e3dda851e96be73f7ab4283fb35d1 /idlc/inc
parenta9cf7dbcef9e4f9a61459c47b5073ef2679c5cb5 (diff)
Fixed i#81780 for good, even on Macos X
Diffstat (limited to 'idlc/inc')
-rw-r--r--idlc/inc/idlc/idlc.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/idlc/inc/idlc/idlc.hxx b/idlc/inc/idlc/idlc.hxx
index 9f8a0f25ede9..8262b26fc095 100644
--- a/idlc/inc/idlc/idlc.hxx
+++ b/idlc/inc/idlc/idlc.hxx
@@ -103,6 +103,12 @@ public:
{ m_warningCount++; }
sal_uInt32 getLineNumber()
{ return m_lineNumber; }
+ sal_uInt32 getOffsetStart()
+ { return m_offsetStart; }
+ sal_uInt32 getOffsetEnd()
+ { return m_offsetEnd; }
+ void setOffset( sal_uInt32 start, sal_uInt32 end)
+ { m_offsetStart = start; m_offsetEnd = end; }
void setLineNumber(sal_uInt32 lineNumber)
{ m_lineNumber = lineNumber; }
void incLineNumber()
@@ -137,6 +143,8 @@ private:
sal_uInt32 m_errorCount;
sal_uInt32 m_warningCount;
sal_uInt32 m_lineNumber;
+ sal_uInt32 m_offsetStart;
+ sal_uInt32 m_offsetEnd;
ParseState m_parseState;
StringSet m_includes;
};