]> git.lyx.org Git - lyx.git/blobdiff - src/Dimension.cpp
Fix PDF output of clipped graphics with recent graphics package
[lyx.git] / src / Dimension.cpp
index ea1d24426dbf96b4b738abf6929c8edefe94339a..5ca5f5f7b4d2a50798ccbbd93f19db597d9eb626 100644 (file)
@@ -28,10 +28,10 @@ void Dimension::operator+=(Dimension const & dim)
 
 Point::Point(int x, int y) : x_(x), y_(y)
 {
-       LASSERT(x > -1000000, x = -1000000);
-       LASSERT(x <  1000000, x =  1000000);
-       LASSERT(y > -1000000, y = -1000000);
-       LASSERT(y <  1000000, y =  1000000);
+       LASSERT(x > -1000000, x_ = -1000000);
+       LASSERT(x <  1000000, x_ =  1000000);
+       LASSERT(y > -1000000, y_ = -1000000);
+       LASSERT(y <  1000000, y_ =  1000000);
 }
 
 } // namespace lyx