mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
remove duplicate of toqstr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16137 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
095625dc3c
commit
c5629aab95
@ -117,7 +117,7 @@ void QParagraph::update_contents()
|
||||
// lyx::to_utf8(_() is correct here (this is stupid though !))
|
||||
if (labelwidth != _("Senseless with this layout!")) {
|
||||
dialog_->labelwidthGB->setEnabled(true);
|
||||
dialog_->labelWidth->setText(ucs4_to_qstring(labelwidth));
|
||||
dialog_->labelWidth->setText(toqstr(labelwidth));
|
||||
} else {
|
||||
dialog_->labelwidthGB->setEnabled(false);
|
||||
dialog_->labelWidth->setText("");
|
||||
|
@ -120,14 +120,6 @@ void ucs4_to_qstring(lyx::docstring const & str, QString & s)
|
||||
}
|
||||
|
||||
|
||||
QString ucs4_to_qstring(lyx::docstring const & str)
|
||||
{
|
||||
QString tmp;
|
||||
ucs4_to_qstring(str, tmp);
|
||||
return tmp;
|
||||
}
|
||||
|
||||
|
||||
QString const toqstr(docstring const & ucs4)
|
||||
{
|
||||
QString s;
|
||||
|
@ -99,8 +99,6 @@ inline void ucs4_to_qstring(char_type const * str, size_t ls, QString & s)
|
||||
}
|
||||
|
||||
|
||||
QString ucs4_to_qstring(docstring const & str);
|
||||
|
||||
docstring const qstring_to_ucs4(QString const & qstr);
|
||||
|
||||
void qstring_to_ucs4(QString const & qstr, std::vector<char_type> & ucs4);
|
||||
|
Loading…
Reference in New Issue
Block a user