mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
Forgot this in previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25845 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
396a90decb
commit
68d50628c1
@ -92,6 +92,14 @@ InsetText::InsetText()
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
void InsetText::setBuffer(Buffer & buf)
|
||||||
|
{
|
||||||
|
ParagraphList::iterator end = paragraphs().end();
|
||||||
|
for (ParagraphList::iterator it = paragraphs().begin(); it != end; ++it)
|
||||||
|
it->setBuffer(buf);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void InsetText::initParagraphs(Buffer const & buf)
|
void InsetText::initParagraphs(Buffer const & buf)
|
||||||
{
|
{
|
||||||
LASSERT(paragraphs().empty(), /**/);
|
LASSERT(paragraphs().empty(), /**/);
|
||||||
|
@ -42,6 +42,8 @@ public:
|
|||||||
InsetText(InsetText const &);
|
InsetText(InsetText const &);
|
||||||
///
|
///
|
||||||
void initParagraphs(Buffer const & buffer);
|
void initParagraphs(Buffer const & buffer);
|
||||||
|
///
|
||||||
|
void setBuffer(Buffer &);
|
||||||
|
|
||||||
///
|
///
|
||||||
Dimension const dimension(BufferView const &) const;
|
Dimension const dimension(BufferView const &) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user