Compilation fix after Lars' changes ;-)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7141 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-06-10 15:03:52 +00:00
parent 309c18fbeb
commit 954937fd33
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2003-06-10 Angus Leeming <leeming@lyx.org>
* QDocument.C (apply): compilation fix after Lars' changes ;-)
2003-06-10 Angus Leeming <leeming@lyx.org>
* QExternal.C (update_contents): show the help text when the dialog is

View File

@ -337,8 +337,8 @@ void QDocument::apply()
params.float_placement = dialog_->floatModule->get();
// paper
params.papersize2 =
dialog_->pageLayoutModule->papersizeCO->currentItem();
params.papersize2 = static_cast<BufferParams::VMARGIN_PAPER_TYPE>
(dialog_->pageLayoutModule->papersizeCO->currentItem());
params.paperwidth = widgetsToLength(dialog_->pageLayoutModule->paperwidthLE,
dialog_->pageLayoutModule->paperwidthUnitCO);
@ -364,7 +364,7 @@ void QDocument::apply()
if (margin > 0) {
margin = margin - 1;
}
params.paperpackage = char(margin);
params.paperpackage = static_cast<BufferParams::PAPER_PACKAGES>(margin);
// set params.papersize from params.papersize2
// and params.paperpackage