X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTextMetrics.cpp;h=778da312a714a3af675b44fc90f37e6d9bdf8b65;hb=12f8e7a6f91f4e1c631888f303af5c76c7b0cd6f;hp=085040990dfe8f8da9089b0a291c901704f0b8a9;hpb=8d06c1ebda46477cccd2a0cde127c931e9ded1d7;p=lyx.git diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index 085040990d..778da312a7 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp @@ -401,6 +401,7 @@ bool TextMetrics::redoParagraph(pit_type const pit) InsetList::const_iterator ii = par.insetList().begin(); InsetList::const_iterator iend = par.insetList().end(); for (; ii != iend; ++ii) { + // FIXME Doesn't this HAVE to be non-empty? // position already initialized? if (!parPos.empty()) { parPos.pos() = ii->pos;