#include "InsetCitation.h"
-#include "Biblio.h"
#include "Buffer.h"
#include "BufferParams.h"
#include "debug.h"
namespace lyx {
-using support::ascii_lowercase;
-using support::contains;
using support::FileName;
using support::getStringFromVector;
using support::getVectorFromString;
using support::tokenPos;
using std::endl;
-using std::replace;
using std::string;
-using std::ostream;
using std::vector;
-using std::map;
namespace fs = boost::filesystem;
docstring const getBasicLabel(docstring const & keyList, docstring const & after)
{
+ using support::contains;
+
docstring keys(keyList);
docstring label;
{
if (tokenPos(getContents(), ',', from) != -1) {
vector<string> items = getVectorFromString(getContents());
- replace(items.begin(), items.end(), from, to);
+ std::replace(items.begin(), items.end(), from, to);
setContents(getStringFromVector(items));
}
}