From bbb854310857eb994c107fb0b42a44121d2d09cc Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期四, 25 七月 2024 11:27:11 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj

---
 jrj/project/business/Enquiry/SKU.PictureView.Product3.cpp |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/jrj/project/business/Enquiry/SKU.PictureView.Product3.cpp b/jrj/project/business/Enquiry/SKU.PictureView.Product3.cpp
index 01123d4..fca596d 100644
--- a/jrj/project/business/Enquiry/SKU.PictureView.Product3.cpp
+++ b/jrj/project/business/Enquiry/SKU.PictureView.Product3.cpp
@@ -50,14 +50,14 @@
 			else
 				src=src.mid(src.find(L"Thumbs", 0)+6, 50);
 			*/
-			xaserverarg& arg = *new xaserverarg;
+			xaserverarg arg;
 			
 			//arg.AddArg(L"src",L"/business/products/chanpin"+src);	
 			arg.AddArg(L"src", src);
 
 			//win::OpenWindow(L"dev:xpage[BigPicture.vx]",arg);	
 
-			int h = openUrl(L"/sale/view/ProductLibrary/xpage/bigpictureview", &arg);
+			int h = openUrl(L"/sale/view/ProductLibrary/xpage/bigpictureview", arg);
 			return 1;
 
 			/*xwin x = new xwin;
@@ -175,9 +175,7 @@
 
 			if (GetWinParam())
 			{
-				xaserverarg arg;
-				//	
-				arg = GetArg();
+				xaserverarg arg = GetArg();
 				ParentHWND  = (HWND)arg.GetParam(L"ParentHWND");
 				xstring openflag = arg.GetArgString(L"OpenFlag");
 				//alert(openflag);
@@ -193,7 +191,7 @@
 					return 0;
 				}
 				doc = x;
-				//alert(x.GetXml());		
+				//alert(x.xml());		
 				KXMLDOMElement e = x.selectSingleNode(L"ImageList");
 				KXMLDOMNodeList  nlist = e.selectNodes(L"image");
 				int i;

--
Gitblit v1.9.3