mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
remove forgotten theApp variables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16120 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
67f2a91dcc
commit
23a58cd5d5
@ -1668,7 +1668,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
||||
|
||||
case LFUN_WINDOW_CLOSE:
|
||||
BOOST_ASSERT(lyx_view_);
|
||||
BOOST_ASSERT(theApp);
|
||||
BOOST_ASSERT(theApp());
|
||||
lyx_view_->close();
|
||||
// We return here because lyx_view does not exists anymore.
|
||||
return;
|
||||
|
@ -196,7 +196,7 @@ int LyXComm::startPipe(string const & file, bool write)
|
||||
}
|
||||
|
||||
if (!write) {
|
||||
theApp->registerSocketCallback(fd,
|
||||
theApp()->registerSocketCallback(fd,
|
||||
boost::bind(&LyXComm::read_ready, this));
|
||||
}
|
||||
|
||||
@ -210,7 +210,7 @@ void LyXComm::endPipe(int & fd, string const & filename, bool write)
|
||||
return;
|
||||
|
||||
if (!write) {
|
||||
theApp->unregisterSocketCallback(fd);
|
||||
theApp()->unregisterSocketCallback(fd);
|
||||
}
|
||||
|
||||
if (::close(fd) < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user