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