]> SALOME platform Git repositories - modules/gui.git/blobdiff - src/PVViewer/PVViewer_ViewModel.cxx
Salome HOME
0022856: EDF 9971 PARAVIS: Error message not displayed in Paravis
[modules/gui.git] / src / PVViewer / PVViewer_ViewModel.cxx
index 4198557a2fcbbbfcc1e0d8f76d5723626ccdbaba..aaacbfebd3148d6a471f9e2d7f4a275efe6cbd75 100644 (file)
@@ -22,7 +22,7 @@
 #include "PVViewer_ViewWindow.h"
 
 #include <utilities.h>
-#include <SUIT_Desktop.h>
+#include "SUIT_Desktop.h"
 
 //----------------------------------------
 PVViewer_Viewer::PVViewer_Viewer()
@@ -35,9 +35,8 @@ PVViewer_Viewer::PVViewer_Viewer()
   Create new instance of view window on desktop \a theDesktop.
   \retval SUIT_ViewWindow* - created view window pointer.
 */
-SUIT_ViewWindow* PVViewer_Viewer::createView(SUIT_Desktop* theDesktop)
+SUIT_ViewWindow* PVViewer_Viewer::createView(SUIT_Desktop* desktop)
 {
-  PVViewer_ViewWindow* aPVView = new PVViewer_ViewWindow(theDesktop, this);
-  return aPVView;
+  return new PVViewer_ViewWindow(desktop, this);
 }