summaryrefslogtreecommitdiff
path: root/Build/source/libs/graphite-engine/src/segment/GrSlotState.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/graphite-engine/src/segment/GrSlotState.h')
-rw-r--r--Build/source/libs/graphite-engine/src/segment/GrSlotState.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/libs/graphite-engine/src/segment/GrSlotState.h b/Build/source/libs/graphite-engine/src/segment/GrSlotState.h
index 3b304c46540..d000927d1a4 100644
--- a/Build/source/libs/graphite-engine/src/segment/GrSlotState.h
+++ b/Build/source/libs/graphite-engine/src/segment/GrSlotState.h
@@ -349,7 +349,7 @@ public:
{
if (i < 0)
return NULL;
- if (i > signed(m_vpslotAssoc.size()))
+ if (i >= signed(m_vpslotAssoc.size()))
return NULL;
GrSlotState * pslotAssoc = m_vpslotAssoc[i];
@@ -868,8 +868,9 @@ public:
bool fPreJust, bool fPostJust);
void LogAssociation(GrTableManager * ptman,
std::ostream & strmOut, int ipass, int iassoc, bool fBoth, bool fAfter);
- void LogXmlAttributes(std::ostream & strmOut, GrTableManager * ptman, int ipass, int islot,
- bool fPreJust, bool fPostJust, bool fBidi, int nIndent);
+ void LogXmlAttributes(std::ostream & strmOut, GrTableManager * ptman, GrSlotStream * psstrmOut,
+ int ipass, int islot,
+ bool fPreJust, bool fPostJust, bool fBidi, bool fBidiNext, int nIndent);
int GetSlotAttrValue(std::ostream & strmOut, GrTableManager * ptman,
int ipass, int slat, int iIndex, bool fPreJust, bool fPostJust);
int m_islotTmpIn; // for use by transduction log; index of slot in input stream