]> git.lyx.org Git - features.git/commitdiff
remove debug code, we know the translation failed
authorPeter Kümmel <syntheticpp@gmx.net>
Sat, 9 Apr 2011 22:13:58 +0000 (22:13 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Sat, 9 Apr 2011 22:13:58 +0000 (22:13 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38323 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/lstrings.cpp

index fdc840174878228a1dc89e0b5e7b9f9266391960..98249e4e1d0ffef07e1778a0e52d21d30297dd6e 100644 (file)
@@ -1326,12 +1326,6 @@ docstring bformat(docstring const & fmt, unsigned int arg1)
 template<>
 docstring bformat(docstring const & fmt, docstring arg1)
 {
-  //TODO remove when bug #7371 is fixed
-  if (!contains(fmt, from_ascii("%1$s"))) {
-    std::cout << "Error in: docstring bformat(docstring const & fmt, docstring arg1)";
-    std::cout << "'%1$s' not in sting:";
-    std::cout << to_ascii(fmt);
-  }
        LASSERT(contains(fmt, from_ascii("%1$s")), /**/);
        docstring const str = subst(fmt, from_ascii("%1$s"), arg1);
        return subst(str, from_ascii("%%"), from_ascii("%"));