X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxtextclass.C;h=3df1271e40147b24f52fe9389a143c5a5d2380cb;hb=fe390e9da1538e20eabbc98977d845295f8e563d;hp=74be61056f6621a49e60d71f612270913cabebb6;hpb=42ef3b28a22e0dcc29706aa79be8a44de5092c67;p=lyx.git diff --git a/src/lyxtextclass.C b/src/lyxtextclass.C index 74be61056f..3df1271e40 100644 --- a/src/lyxtextclass.C +++ b/src/lyxtextclass.C @@ -24,6 +24,8 @@ #include +using namespace lyx::support; + using std::endl; using std::find_if; using std::remove_if; @@ -755,7 +757,7 @@ bool LyXTextClass::hasLayout(string const & n) const LyXLayout_ptr const & LyXTextClass::operator[](string const & name) const { - lyx::Assert(!name.empty()); + Assert(!name.empty()); LayoutList::const_iterator cit = find_if(layoutlist_.begin(), @@ -771,7 +773,7 @@ LyXLayout_ptr const & LyXTextClass::operator[](string const & name) const lyxerr << " " << it->get()->name() << endl; // we require the name to exist - lyx::Assert(false); + Assert(false); } return (*cit);