namespace lyx {
namespace frontend {
-using support::internalLineEnding;
-using support::externalLineEnding;
-
GuiSelection::GuiSelection()
: schedule_check_(true),
if (str.isNull())
return docstring();
- return internalLineEnding(qstring_to_ucs4(str));
+ return internalLineEnding(str);
}
{
LYXERR(Debug::SELECTION, "GuiSelection::put: " << to_utf8(str));
- qApp->clipboard()->setText(toqstr(externalLineEnding(str)),
+ qApp->clipboard()->setText(externalLineEnding(str),
QClipboard::Selection);
}
} // namespace frontend
} // namespace lyx
-#include "GuiSelection_moc.cpp"
+#include "moc_GuiSelection.cpp"