mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Fix warnings.
This commit is contained in:
parent
2de99c5dd9
commit
d7dde0c723
@ -59,7 +59,7 @@ namespace frontend {
|
|||||||
|
|
||||||
struct InsetParamsDialog::Private
|
struct InsetParamsDialog::Private
|
||||||
{
|
{
|
||||||
Private() : widget_(0), inset_(0), changed_(false) {}
|
Private() : widget_(nullptr), inset_(nullptr), changed_(false) {}
|
||||||
///
|
///
|
||||||
InsetParamsWidget * widget_;
|
InsetParamsWidget * widget_;
|
||||||
/// The inset that was used at last Restore or Apply operation.
|
/// The inset that was used at last Restore or Apply operation.
|
||||||
@ -312,7 +312,8 @@ Dialog * createDialog(GuiView & lv, InsetCode code)
|
|||||||
case VSPACE_CODE:
|
case VSPACE_CODE:
|
||||||
widget = new GuiVSpace;
|
widget = new GuiVSpace;
|
||||||
break;
|
break;
|
||||||
default: return 0;
|
default:
|
||||||
|
return nullptr;
|
||||||
}
|
}
|
||||||
InsetParamsDialog * dialog = new InsetParamsDialog(lv, widget);
|
InsetParamsDialog * dialog = new InsetParamsDialog(lv, widget);
|
||||||
return dialog;
|
return dialog;
|
||||||
|
Loading…
Reference in New Issue
Block a user