#include "VCBackend.h"
#include "Buffer.h"
-#include "DispatchResult.h"
#include "LyX.h"
#include "FuncRequest.h"
dispatch(FuncRequest(LFUN_DIALOG_SHOW, "file " + tmpf.absFileName()));
ret = frontend::Alert::prompt(_("Changes detected"),
text, 0, 1, _("&Continue"), _("&Abort"));
- hideDialogs("file", 0);
+ hideDialogs("file", nullptr);
}
if (ret == 1)
return string();
// Here we know that the buffer file is either already in SVN or
// about to be registered
master_ = m;
- locked_mode_ = 0;
+ locked_mode_ = false;
scanMaster();
}
dispatch(FuncRequest(LFUN_DIALOG_SHOW, "file " + tmpf.absFileName()));
ret = frontend::Alert::prompt(_("Changes detected"),
text, 0, 1, _("&Yes"), _("&No"));
- hideDialogs("file", 0);
+ hideDialogs("file", nullptr);
}
if (ret == 1)
return string();