mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
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:
parent
309c18fbeb
commit
954937fd33
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user