From 003f66b53595d8ceb8926c0e2a5eecd91337766b Mon Sep 17 00:00:00 2001
From: vsr <vsr@opencascade.com>
Date: Mon, 24 Jan 2011 15:20:25 +0000
Subject: [PATCH] Fix regression: storeViewParameters() does not work for OCC
 view

---
 src/GEOMGUI/GeometryGUI.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx
index 63fb01bf4..e502b685d 100644
--- a/src/GEOMGUI/GeometryGUI.cxx
+++ b/src/GEOMGUI/GeometryGUI.cxx
@@ -1776,7 +1776,7 @@ void GeometryGUI::storeVisualParameters (int savePoint)
       QVector<SUIT_ViewWindow*> views = vman->getViews();
       for (int i = 0, iEnd = vman->getViewsCount(); i < iEnd; i++)
       {
-        SOCC_ViewWindow* occView = dynamic_cast<SOCC_ViewWindow*>(views[i]);
+        OCCViewer_ViewWindow* occView = dynamic_cast<OCCViewer_ViewWindow*>(views[i]);
         if (occView)
         {
           //Handle(AIS_InteractiveContext) ic =