]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/qt_helpers.C
remove unused function
[lyx.git] / src / frontends / qt4 / qt_helpers.C
index d71a6da8e5e6ad96d7f099ef5c619e52d89ed94f..587f1630c0a39d67d7bc1be4a8409be8ea0c6ef4 100644 (file)
@@ -138,15 +138,6 @@ docstring const qstring_to_ucs4(QString const & qstr)
 }
 
 
-void qstring_to_ucs4(QString const & qstr, vector<char_type> & ucs4)
-{
-       int const ls = qstr.size();
-       ucs4.clear();
-       for (int i = 0; i < ls; ++i)
-               ucs4.push_back(static_cast<lyx::char_type>(qstr[i].unicode()));
-}
-
-
 QString const qt_(char const * str, const char *)
 {
        return toqstr(_(str));