From 168fce76e8717b13c91fdb96c6d27d6551b2d8c5 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期二, 16 七月 2024 18:28:56 +0800
Subject: [PATCH] update hrjob
---
jrj/project/total3/ViewTotalWin.cpp | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/jrj/project/total3/ViewTotalWin.cpp b/jrj/project/total3/ViewTotalWin.cpp
index a94ff6b..b5613e5 100644
--- a/jrj/project/total3/ViewTotalWin.cpp
+++ b/jrj/project/total3/ViewTotalWin.cpp
@@ -18,8 +18,7 @@
public:
static ViewTotalWin* CreateInstance(void* implPtr, void* hWnd)
{
- ViewTotalWin* pWin = new ViewTotalWin(implPtr, (HWND)hWnd);
- return pWin;
+ return new ViewTotalWin(implPtr, (HWND)hWnd);
}
public:
xdwgrid dw_list;
@@ -137,7 +136,7 @@
if (argUrl != L"")
{
xaserverarg ar ;
- ar.setNativePointer(ar.CreateInstance());
+ //ar.setNativePointer(ar.CreateInstance());
ar.AddArg(L"argurl", argUrl);
if (argStr != L"")
ar.AddArg(L"arg", argStr);
@@ -496,7 +495,7 @@
{
KXMLDOMElement rpt = nlist.item(i);
xstring name = rpt.getAttribute(L"name");
- xc.AddItem( name, rpt);
+ xc.AddItem( name, rpt.ptr());
if (i == 0) xc.SetText(name);
if (i == 0) rptEle = rpt;
}
--
Gitblit v1.9.3