X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbuffer.C;h=e0877225236d80d11965fe5c15af5cddd7dcc8cb;hb=4d5282a7aca1e8d80d310ce3a3514562d6584b36;hp=75a5010d5cfb30d20e3fe2f97c14b3135df5dff0;hpb=875a88023be82ab340f48d451f23beaf89211522;p=lyx.git diff --git a/src/buffer.C b/src/buffer.C index 75a5010d5c..e087722523 100644 --- a/src/buffer.C +++ b/src/buffer.C @@ -502,7 +502,7 @@ bool Buffer::readDocument(LyXLex & lex) string theclass = params().getLyXTextClass().name(); Alert::error(_("Can't load document class"), bformat( _("Using the default document class, because the " - " class %1$s could not be loaded."), from_utf8(theclass))); + "class %1$s could not be loaded."), from_utf8(theclass))); params().textclass = 0; } @@ -1274,7 +1274,7 @@ void Buffer::updateBibfilesCache() if (it->lyxCode() == InsetBase::BIBTEX_CODE) { InsetBibtex const & inset = dynamic_cast(*it); - vector const bibfiles = inset.getFiles(*this); + vector const bibfiles = inset.getFiles(*this); bibfilesCache_.insert(bibfilesCache_.end(), bibfiles.begin(), bibfiles.end()); @@ -1282,7 +1282,7 @@ void Buffer::updateBibfilesCache() InsetInclude & inset = dynamic_cast(*it); inset.updateBibfilesCache(*this); - vector const & bibfiles = + vector const & bibfiles = inset.getBibfilesCache(*this); bibfilesCache_.insert(bibfilesCache_.end(), bibfiles.begin(), @@ -1292,7 +1292,7 @@ void Buffer::updateBibfilesCache() } -vector const & Buffer::getBibfilesCache() const +vector const & Buffer::getBibfilesCache() const { // if this is a child document and the parent is already loaded // use the parent's cache instead