lyx/gcc46.patch

24 lines
677 B
Diff

--- src/support/unicode.h 2009-05-19 17:28:27.000000000 +0200
+++ src/support/unicode.h 2011-03-17 09:27:51.026012759 +0100
@@ -15,6 +15,7 @@
#include "support/strfwd.h"
+#include <cstddef>
#include <vector>
--- src/frontends/qt4/GuiIdListModel.cpp 2008-04-30 10:26:40.000000000 +0200
+++ src/frontends/qt4/GuiIdListModel.cpp 2011-03-17 10:13:45.170012886 +0100
@@ -76,9 +76,8 @@
if (!rowIsValid(row))
return false;
vector<OurData>::iterator it = userData_.begin() + row;
- OurData const v;
beginInsertRows(QModelIndex(), row, row + count - 1);
- userData_.insert(it, count, v);
+ userData_.insert(it, count, OurData());
endInsertRows();
return true;
}