mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
better fix for gcc 3.4 compilation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9308 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8a69513606
commit
25bd4a229b
@ -118,14 +118,14 @@ GViewCB<Controller, Base>::GViewCB(Dialog & parent, std::string const & t,
|
||||
template <class Controller, class Base>
|
||||
Controller & GViewCB<Controller, Base>::controller()
|
||||
{
|
||||
return static_cast<Controller &>(Dialog::View::getController());
|
||||
return static_cast<Controller &>(this->getController());
|
||||
}
|
||||
|
||||
|
||||
template <class Controller, class Base>
|
||||
Controller const & GViewCB<Controller, Base>::controller() const
|
||||
{
|
||||
return static_cast<Controller const &>(Dialog::View::getController());
|
||||
return static_cast<Controller const &>(this->getController());
|
||||
}
|
||||
|
||||
} // namespace frontend
|
||||
|
Loading…
Reference in New Issue
Block a user