compilation fixes following rev 13671

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13672 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-04-13 20:39:42 +00:00
parent 67d576f75e
commit 544d542c7d

View File

@ -19,7 +19,7 @@
#include "lcolorcache.h"
#include "qt_helpers.h"
#include "BufferView.h"
#include "debug.h"
#include "funcrequest.h"
#include "LColor.h"
@ -230,7 +230,10 @@ void QWorkArea::adjustViewWithScrollBar(int action)
void QWorkArea::haveSelection(bool own) const
{
wa_ptr = this;
// static_cast is not possible here
// wa_ptr = static_cast<QWorkArea*>(this);
/// \todo ask X11 and MAC devels why this wa_ptr is useful.
wa_ptr = (QWorkArea*)(this);
if (!QApplication::clipboard()->supportsSelection())
return;