]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphMetrics.cpp
Natbib authoryear uses (Ref1; Ref2) by default.
[lyx.git] / src / ParagraphMetrics.cpp
index bff6eb6d77babaae3cb5f6b23087025a8d1c59ff..d4ff656449ace627c47a9365e8bd51bb122f6da9 100644 (file)
@@ -136,7 +136,7 @@ void ParagraphMetrics::setInsetDimension(Inset const * inset,
 
 Row & ParagraphMetrics::getRow(pos_type pos, bool boundary)
 {
-       LBUFERR(!rows().empty(), _("ParagraphMetrics has no rows!"));
+       LBUFERR(!rows().empty());
 
        // If boundary is set we should return the row on which
        // the character before is inside.
@@ -155,7 +155,7 @@ Row & ParagraphMetrics::getRow(pos_type pos, bool boundary)
 
 Row const & ParagraphMetrics::getRow(pos_type pos, bool boundary) const
 {
-       LBUFERR(!rows().empty(), _("ParagraphMetrics has no rows!"));
+       LBUFERR(!rows().empty());
 
        // If boundary is set we should return the row on which
        // the character before is inside.
@@ -174,7 +174,7 @@ Row const & ParagraphMetrics::getRow(pos_type pos, bool boundary) const
 
 size_t ParagraphMetrics::pos2row(pos_type pos) const
 {
-       LBUFERR(!rows().empty(), _("ParagraphMetrics has no rows!"));
+       LBUFERR(!rows().empty());
 
        RowList::const_iterator rit = rows_.end();
        RowList::const_iterator const begin = rows_.begin();