From 614711c67ef8d5cf57d19b1d415b0e083aeb7d7c Mon Sep 17 00:00:00 2001 From: "roc+%cs.cmu.edu" Date: Fri, 23 Jan 2004 17:27:59 +0000 Subject: [PATCH] Bug 230687. DEC compiler barfs on call to implicit nsRectFast::operator=. r+sr=dbaron --- gfx/public/nsRegion.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gfx/public/nsRegion.h b/gfx/public/nsRegion.h index 297068cc5895..dc97b62c64ad 100644 --- a/gfx/public/nsRegion.h +++ b/gfx/public/nsRegion.h @@ -70,7 +70,10 @@ class NS_GFX nsRegion RgnRect& operator = (const RgnRect& aRect) // Do not overwrite prev/next pointers { - nsRectFast::operator = (aRect); // Copy only the nsRectFast part + x = aRect.x; + y = aRect.y; + width = aRect.width; + height = aRect.height; return *this; } };