Crash fix for in mathed cursor.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20523 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-09-26 19:45:17 +00:00
parent b762358eec
commit 804b85af43

View File

@ -44,13 +44,13 @@ ParagraphParameters & ControlParagraph::params()
return multiparsel_;
}
return bufferview()->cursor().paragraph().params();
return bufferview()->cursor().innerParagraph().params();
}
ParagraphParameters const & ControlParagraph::params() const
{
return bufferview()->cursor().paragraph().params();
return bufferview()->cursor().innerParagraph().params();
}
@ -85,13 +85,13 @@ bool ControlParagraph::canIndent() const
LyXAlignment ControlParagraph::alignPossible() const
{
return bufferview()->cursor().paragraph().layout()->alignpossible;
return bufferview()->cursor().innerParagraph().layout()->alignpossible;
}
LyXAlignment ControlParagraph::alignDefault() const
{
return bufferview()->cursor().paragraph().layout()->align;
return bufferview()->cursor().innerParagraph().layout()->align;
}
} // namespace frontend