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:
Peter Kümmel 2006-11-30 08:42:29 +00:00
parent 67f2a91dcc
commit 23a58cd5d5
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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) {