X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FParagraphMetrics.cpp;h=d4ff656449ace627c47a9365e8bd51bb122f6da9;hb=3d4076b598deb18660e50ec9c327efc3b15f15d0;hp=bff6eb6d77babaae3cb5f6b23087025a8d1c59ff;hpb=1b1f8dd235ba8e168348cd23c824063f2595a0c5;p=lyx.git diff --git a/src/ParagraphMetrics.cpp b/src/ParagraphMetrics.cpp index bff6eb6d77..d4ff656449 100644 --- a/src/ParagraphMetrics.cpp +++ b/src/ParagraphMetrics.cpp @@ -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();