On 04/26/2013 11:54 AM, Jean-Marc Lasgouttes wrote:
26/04/2013 16:43, Richard Heck:
The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit 78652c98c8af2290492d969570a084ad58ec0c02
Author: Richard Heck <rgh...@lyx.org>
Date:   Fri Apr 26 10:42:45 2013 -0400

     Remove assertion accidentally added during the audit.

      // This should not happen, but if so, we take no chances.
-    LBUFERR(false, _("Invalid position."));
-    // Squash warning
-    return FontSpan();
+    LYXERR0("Paragraph::getEndPosOfFontSpan: This should not happen!");
+    return FontSpan(pos, pos);
  }

Are you sure that the error is correct? I really get a lot of messages now.

It had been commented out, but the warning "This should not happen" is there. If that's not an error, we should remove the warning.

Richard

Reply via email to