mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
2 style and 1 compilation fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15156 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c2cc205852
commit
a9ddcfc77c
@ -44,7 +44,7 @@ int GuiImplementation::newWorkArea(unsigned int w, unsigned int h, int /*view_id
|
||||
work_area_.reset(new GuiWorkArea(old_screen_.get(), old_work_area_.get()));
|
||||
|
||||
// FIXME BufferView creation should be independant of WorkArea creation
|
||||
buffer_views_[0].reset(new BufferView());
|
||||
buffer_views_[0].reset(new BufferView);
|
||||
work_area_->setBufferView(buffer_views_[0].get());
|
||||
view_->setWorkArea(work_area_.get());
|
||||
return 0;
|
||||
|
@ -70,7 +70,7 @@ public:
|
||||
work_area_.reset(new GuiWorkArea(old_screen_.get(), old_work_area_.get()));
|
||||
|
||||
// FIXME BufferView creation should be independant of WorkArea creation
|
||||
buffer_views_[0].reset(new BufferView());
|
||||
buffer_views_[0].reset(new BufferView);
|
||||
work_area_->setBufferView(buffer_views_[0].get());
|
||||
view_->setWorkArea(work_area_.get());
|
||||
return 0;
|
||||
|
@ -66,7 +66,7 @@ int GuiImplementation::newWorkArea(unsigned int w, unsigned int h, int view_id)
|
||||
work_areas_[id].reset(new GuiWorkArea(w, h, *view));
|
||||
|
||||
// FIXME BufferView creation should be independant of WorkArea creation
|
||||
buffer_views_[id].reset(new BufferView());
|
||||
buffer_views_[id].reset(new BufferView);
|
||||
work_areas_[id]->setBufferView(buffer_views_[id].get());
|
||||
view->setWorkArea(work_areas_[id].get());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user