]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibitem.cpp
Change inset label from ": filename" to "Program Listing: filename" for listings...
[lyx.git] / src / insets / InsetBibitem.cpp
index 93015395e0697d00029fe271bc3dbf488856f5e7..3978c60df861257961c435a79f473c4efbf9011f 100644 (file)
@@ -35,8 +35,6 @@
 #include "support/gettext.h"
 #include "support/convert.h"
 
-#include <ostream>
-
 using namespace std;
 using namespace lyx::support;
 
@@ -233,7 +231,7 @@ void InsetBibitem::fillWithBibKeys(BiblioInfo & keys, InsetIterator const & it)
        keyvalmap[from_ascii("label")] = getParam("label");
        DocIterator doc_it(it); 
        doc_it.forwardPos();
-       keyvalmap[from_ascii("ref")] = doc_it.paragraph().asString(false);
+       keyvalmap[from_ascii("ref")] = doc_it.paragraph().asString();
        keys[key] = keyvalmap;
 }