mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +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 const end = paragraphs().end();
|
||||
while (par != end) {
|
||||
pos_type siz = par->size();
|
||||
for (pos_type i = 0; i <= siz; ++i) {
|
||||
par->setFont(i, font);
|
||||
}
|
||||
par->resetFonts(font);
|
||||
par->params().clear();
|
||||
++par;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user