--- silgraphite-2.3.1/engine/include/graphite/Segment.h.old 2016-09-25 17:02:53.649834368 -0400 +++ silgraphite-2.3.1/engine/include/graphite/Segment.h 2016-09-25 17:20:48.790560423 -0400 @@ -142,7 +142,6 @@ LineBrk lbStart, LineBrk lbEnd, SegEnd est, bool fStartLine, bool fEndLine, bool fWsRtl); void DestroyContents(); - void SwapWith(Segment * pgrseg); void ClearAltEndLineSeg(); ITextSource * GetString(); // client is responsible to Release() --- silgraphite-2.3.1/engine/src/segment/Segment.cpp.old 2016-09-25 17:21:32.803064831 -0400 +++ silgraphite-2.3.1/engine/src/segment/Segment.cpp 2016-09-25 17:21:41.726515045 -0400 @@ -567,21 +567,6 @@ } /*---------------------------------------------------------------------------------------------- - Swap the guts of the two segments. - OBSOLETE -----------------------------------------------------------------------------------------------*/ -void Segment::SwapWith(Segment * pgrseg) -{ - int crefThis = m_cref; - int crefOther = pgrseg->m_cref; - - std::swap(*this, *pgrseg); - - m_cref = crefThis; - pgrseg->m_cref = crefOther; -} - -/*---------------------------------------------------------------------------------------------- Delete the pointer to the alternate-end-of-line segment. ----------------------------------------------------------------------------------------------*/ void Segment::ClearAltEndLineSeg()