]> git.lyx.org Git - features.git/commitdiff
Just whitespace and a comment.
authorRichard Heck <rgheck@comcast.net>
Mon, 25 Apr 2011 01:46:37 +0000 (01:46 +0000)
committerRichard Heck <rgheck@comcast.net>
Mon, 25 Apr 2011 01:46:37 +0000 (01:46 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38485 a592a061-630c-0410-9148-cb99ea01b6c8

src/CoordCache.cpp
src/TextMetrics.cpp
src/insets/InsetTabular.cpp

index d1d41e3968f1a1002aabd5842bb938dbec1e058d..4c9e8800927058d6dd0548d92579e19be9eb1f59 100644 (file)
@@ -37,7 +37,7 @@ void lyxbreaker(void const * data, const char * hint, int size)
 {
        LYXERR0("break on pointer: " << data << " hint: " << hint
                << " size: " << size);
-        LASSERT(false, return);
+       LASSERT(false, return);
 }
 
 
index 085040990dfe8f8da9089b0a291c901704f0b8a9..778da312a714a3af675b44fc90f37e6d9bdf8b65 100644 (file)
@@ -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;
index 5eb59e54d2513c8100e86b0ba3de223c4ec22f7d..a899706f380f611719f8b5a62c2a34e62d445656 100644 (file)
@@ -522,7 +522,7 @@ InsetTableCell splitCell(InsetTableCell & head, docstring const align_d, bool &
 
        DocIterator dit = doc_iterator_begin(&head.buffer(), &head);
        for (; dit; dit.forwardChar())
-               if (dit.inTexted() && dit.depth()==1
+               if (dit.inTexted() && dit.depth() == 1
                        && dit.paragraph().find(align_d, false, false, dit.pos()))
                        break;