Salome HOME
Merge branch 'pre/V8_2_BR' of https://git.salome-platform.org/git/modules/gui into...
[modules/gui.git] / src / OCCViewer / OCCViewer_ToolTip.cxx
index 26ac23c1a3d19b94cbb1cc32c4ad8b5aceacbd63..900a9818f2086454727e3b98036c7d27373dcdb0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -27,8 +27,6 @@
 
 #include <SUIT_ViewManager.h>
 
-#include <SelectMgr_EntityOwner.hxx>
-
 /*!
   Constructor
 
@@ -88,7 +86,7 @@ void OCCViewer_ToolTip::onToolTip( QPoint p, QString& str, QFont& f, QRect& txtR
   if( !owner.IsNull() )
     emit toolTipFor( owner, txt );
 
-  Handle_AIS_InteractiveObject obj = aCont->DetectedInteractive();
+  Handle(AIS_InteractiveObject) obj = aCont->DetectedInteractive();
   if( txt.isEmpty() && !obj.IsNull() )
     emit toolTipFor( obj, txt );