]> git.lyx.org Git - features.git/blobdiff - src/LyX.cpp
Avoid using theServer() for no reason
[features.git] / src / LyX.cpp
index 9b54463730a4b72eb9cb31d92dfbad7bd0e81190..12bdbe6666afac3463f8523cc4cd61fc01d993a4 100644 (file)
@@ -394,7 +394,7 @@ int LyX::exec(int & argc, char * argv[])
                        FileName(package().temp_dir().absFileName() + "/lyxsocket")));
 
        // Start the real execution loop.
-       if (!theServer().deferredLoadingToOtherInstance())
+       if (!pimpl_->lyx_server_->deferredLoadingToOtherInstance())
                exit_status = pimpl_->application_->exec();
        else if (!pimpl_->files_to_load_.empty()) {
                vector<string>::const_iterator it = pimpl_->files_to_load_.begin();