#include "support/gettext.h"
#include "support/convert.h"
-#include <ostream>
-
using namespace std;
using namespace lyx::support;
docstring const old_key = getParam("key");
docstring key = new_key;
- BiblioInfo keys;
- keys.fillWithBibKeys(&buffer());
- vector<docstring> bibkeys = keys.getKeys();
+ vector<docstring> bibkeys = buffer().masterBibInfo().getKeys();
int i = 1;
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;
}