X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCounters.cpp;h=e73e2d89139c6da6a12d0308633980ee72779284;hb=4db3e641ed6765e005343010cb90ee8af26f8f99;hp=df22b0a5d0af2b1a4c95580f27b27e2739fe5538;hpb=1b1f8dd235ba8e168348cd23c824063f2595a0c5;p=lyx.git diff --git a/src/Counters.cpp b/src/Counters.cpp index df22b0a5d0..e73e2d8913 100644 --- a/src/Counters.cpp +++ b/src/Counters.cpp @@ -261,7 +261,7 @@ void Counters::step(docstring const & ctr, UpdateType utype) it->second.step(); if (utype == OutputUpdate) { - LBUFERR(!counter_stack_.empty(), _("Empty counter stack!")); + LBUFERR(!counter_stack_.empty()); counter_stack_.pop_back(); counter_stack_.push_back(ctr); } @@ -597,7 +597,7 @@ docstring Counters::prettyCounter(docstring const & name, docstring Counters::currentCounter() const { - LBUFERR(!counter_stack_.empty(), _("Empty counter stack!")); + LBUFERR(!counter_stack_.empty()); return counter_stack_.back(); }