#include <cmath> // std::abs
#include <sstream>
-using lyx::support::float_equal;
-
-using std::string;
-
namespace lyx {
namespace external {
+using support::float_equal;
+using std::string;
+
+
string const ExtraData::get(string const & id) const
{
std::map<string, string>::const_iterator it = data_.find(id);
output = what.str(1);
// Remove any surrounding whitespace
- output = lyx::support::trim(output);
+ output = support::trim(output);
// If the thing is empty, leave it so, else wrap it in square brackets.
return output.empty() ? output : "[" + output + "]";