View | Details | Raw Unified | Return to bug 243310 | Differences between
and this patch

Collapse All | Expand All

(-)graphics/silgraphite/files/patch-openoffice-silgraphite (+12 lines)
Lines 1550-1555 Link Here
1550
 
1550
 
1551
 //	m_psstrm = NULL;
1551
 //	m_psstrm = NULL;
1552
 	m_prgslout = NULL;
1552
 	m_prgslout = NULL;
1553
@@ -575,7 +577,10 @@ void Segment::SwapWith(Segment * pgrseg)
1554
 	int crefThis = m_cref;
1555
 	int crefOther = pgrseg->m_cref;
1556
 
1557
-	std::swap(*this, *pgrseg);
1558
+	//std::swap(*this, *pgrseg);
1559
+	Segment tmp = *this;
1560
+	*this = *pgrseg;
1561
+	*pgrseg = tmp;
1562
 
1563
 	m_cref = crefThis;
1564
 	pgrseg->m_cref = crefOther;
1553
@@ -1178,7 +1180,7 @@ LineBrk Segment::getBreakWeight(int ich,
1565
@@ -1178,7 +1180,7 @@ LineBrk Segment::getBreakWeight(int ich,
1554
 	part of the segment.
1566
 	part of the segment.
1555
 ----------------------------------------------------------------------------------------------*/
1567
 ----------------------------------------------------------------------------------------------*/

Return to bug 243310