No output for nocite citations.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32897 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-01-08 18:49:32 +00:00
parent e0a6a7a542
commit 403dccbf23

View File

@ -507,6 +507,10 @@ int InsetCitation::docbook(odocstream & os, OutputParams const &) const
docstring InsetCitation::xhtml(XHTMLStream & xs, OutputParams const &) const docstring InsetCitation::xhtml(XHTMLStream & xs, OutputParams const &) const
{ {
string const & cmd = getCmdName();
if (cmd == "nocite")
return docstring();
BiblioInfo const & bi = buffer().masterBibInfo(); BiblioInfo const & bi = buffer().masterBibInfo();
docstring const & key_list = getParam("key"); docstring const & key_list = getParam("key");
if (key_list.empty()) if (key_list.empty())