mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
* InsetERT::resetParagraphsFont(): use Paragraph::resetFonts().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21258 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5e418fb660
commit
3a7509a901
@ -107,10 +107,7 @@ void InsetERT::resetParagraphsFont()
|
|||||||
ParagraphList::iterator par = paragraphs().begin();
|
ParagraphList::iterator par = paragraphs().begin();
|
||||||
ParagraphList::iterator const end = paragraphs().end();
|
ParagraphList::iterator const end = paragraphs().end();
|
||||||
while (par != end) {
|
while (par != end) {
|
||||||
pos_type siz = par->size();
|
par->resetFonts(font);
|
||||||
for (pos_type i = 0; i <= siz; ++i) {
|
|
||||||
par->setFont(i, font);
|
|
||||||
}
|
|
||||||
par->params().clear();
|
par->params().clear();
|
||||||
++par;
|
++par;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user