#include "lyxfind.h"
#include "support/lyxtime.h"
-using lyx::docstring;
-
using std::string;
namespace lyx {
bool ControlChanges::find()
{
- return find::findNextChange(kernel().bufferview());
+ return findNextChange(kernel().bufferview());
}
return docstring();
// FIXME UNICODE
- return lyx::from_utf8(formatted_time(c.changetime));
+ return from_utf8(formatted_time(c.changetime));
}
Author const & a(kernel().buffer().params().authors().get(c.author));
- // FIXME UNICODE in Author class
- docstring author(lyx::from_utf8(a.name()));
+ docstring author(a.name());
if (!a.email().empty()) {
author += " (";
- author += lyx::from_utf8(a.email());
+ author += a.email();
author += ")";
}
bool ControlChanges::accept()
{
kernel().dispatch(FuncRequest(LFUN_CHANGE_ACCEPT));
- return find::findNextChange(kernel().bufferview());
+ return findNextChange(kernel().bufferview());
}
bool ControlChanges::reject()
{
kernel().dispatch(FuncRequest(LFUN_CHANGE_REJECT));
- return find::findNextChange(kernel().bufferview());
+ return findNextChange(kernel().bufferview());
}