fix compiler warning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17541 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2007-03-25 10:32:22 +00:00
parent 5fc7649ea9
commit 460e8b8c65

View File

@ -45,7 +45,7 @@ template<typename String> static QStringList to_qstring_list(vector<String> cons
vector<string> const to_string_vector(QStringList const & qlist) vector<string> const to_string_vector(QStringList const & qlist)
{ {
vector<string> v; vector<string> v;
for (size_t i=0; i != qlist.size(); ++i) { for (int i = 0; i != qlist.size(); ++i) {
if (qlist[i].isEmpty()) if (qlist[i].isEmpty())
continue; continue;
v.push_back(lyx::fromqstr(qlist[i])); v.push_back(lyx::fromqstr(qlist[i]));