The branch, master, has been updated.

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

commit 78652c98c8af2290492d969570a084ad58ec0c02
Author: Richard Heck <[email protected]>
Date:   Fri Apr 26 10:42:45 2013 -0400

    Remove assertion accidentally added during the audit.

diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index 2a4d4e7..e5a469f 100644
--- a/src/Paragraph.cpp
+++ b/src/Paragraph.cpp
@@ -1850,9 +1850,8 @@ FontSpan Paragraph::fontSpan(pos_type pos) const
        }
 
        // 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);
 }
 
 

-----------------------------------------------------------------------

Summary of changes:
 src/Paragraph.cpp |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to