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:
Abdelrazak Younes 2006-09-26 12:46:27 +00:00
parent c2cc205852
commit a9ddcfc77c
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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());