mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Avoid using theServer() for no reason
All it brings us is threatening to throw an exception to scare coverity off.
This commit is contained in:
parent
74bcd5d26c
commit
b925728591
@ -394,7 +394,7 @@ int LyX::exec(int & argc, char * argv[])
|
|||||||
FileName(package().temp_dir().absFileName() + "/lyxsocket")));
|
FileName(package().temp_dir().absFileName() + "/lyxsocket")));
|
||||||
|
|
||||||
// Start the real execution loop.
|
// Start the real execution loop.
|
||||||
if (!theServer().deferredLoadingToOtherInstance())
|
if (!pimpl_->lyx_server_->deferredLoadingToOtherInstance())
|
||||||
exit_status = pimpl_->application_->exec();
|
exit_status = pimpl_->application_->exec();
|
||||||
else if (!pimpl_->files_to_load_.empty()) {
|
else if (!pimpl_->files_to_load_.empty()) {
|
||||||
vector<string>::const_iterator it = pimpl_->files_to_load_.begin();
|
vector<string>::const_iterator it = pimpl_->files_to_load_.begin();
|
||||||
|
Loading…
Reference in New Issue
Block a user