]> git.lyx.org Git - lyx.git/blobdiff - src/CoordCache.cpp
Revert "Objective-C compililation support with cmake and C++11"
[lyx.git] / src / CoordCache.cpp
index 4c9e8800927058d6dd0548d92579e19be9eb1f59..686503979d632ce1151d6ed65c216dd8d66fa625 100644 (file)
@@ -26,18 +26,19 @@ namespace lyx {
 Point::Point(int x, int y)
        : x_(x), y_(y)
 {
-       LASSERT(x > -1000000, /**/);
-       LASSERT(x <  1000000, /**/);
-       LASSERT(y > -1000000, /**/);
-       LASSERT(y <  1000000, /**/);
+       LASSERT(x > -1000000, x = -1000000);
+       LASSERT(x <  1000000, x =  1000000);
+       LASSERT(y > -1000000, y = -1000000);
+       LASSERT(y <  1000000, y =  1000000);
 }
 
+
 // just a helper to be able to set a breakpoint
 void lyxbreaker(void const * data, const char * hint, int size)
 {
        LYXERR0("break on pointer: " << data << " hint: " << hint
                << " size: " << size);
-       LASSERT(false, return);
+       LBUFERR(false);
 }