mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Whitespace.
This commit is contained in:
parent
5deaaa3b13
commit
be4646c8ac
@ -125,7 +125,7 @@ pasteSelectionHelper(DocIterator const & cur, ParagraphList const & parlist,
|
|||||||
InsetText * target_inset = cur.inset().asInsetText();
|
InsetText * target_inset = cur.inset().asInsetText();
|
||||||
if (!target_inset) {
|
if (!target_inset) {
|
||||||
InsetTabular * it = cur.inset().asInsetTabular();
|
InsetTabular * it = cur.inset().asInsetTabular();
|
||||||
target_inset = it? it->cell(cur.idx())->asInsetText() : 0;
|
target_inset = it ? it->cell(cur.idx())->asInsetText() : 0;
|
||||||
}
|
}
|
||||||
LASSERT(target_inset, return PasteReturnValue(pit, pos, need_update));
|
LASSERT(target_inset, return PasteReturnValue(pit, pos, need_update));
|
||||||
|
|
||||||
@ -170,7 +170,8 @@ pasteSelectionHelper(DocIterator const & cur, ParagraphList const & parlist,
|
|||||||
if (forcePlainLayout || parLayout == defaultLayout)
|
if (forcePlainLayout || parLayout == defaultLayout)
|
||||||
par->setLayout(plainLayout);
|
par->setLayout(plainLayout);
|
||||||
}
|
}
|
||||||
} else { // check if we need to reset from plain layout
|
} else {
|
||||||
|
// check if we need to reset from plain layout
|
||||||
Layout const & defaultLayout = newDocClass->defaultLayout();
|
Layout const & defaultLayout = newDocClass->defaultLayout();
|
||||||
Layout const & plainLayout = newDocClass->plainLayout();
|
Layout const & plainLayout = newDocClass->plainLayout();
|
||||||
ParagraphList::iterator const end = insertion.end();
|
ParagraphList::iterator const end = insertion.end();
|
||||||
|
Loading…
Reference in New Issue
Block a user