From cb211ee1bd6399c644a68fbf3e306d5cd7e6a25f Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期三, 26 六月 2024 09:52:24 +0800
Subject: [PATCH] update element
---
jrj/project/viewobject/view.base.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/jrj/project/viewobject/view.base.hpp b/jrj/project/viewobject/view.base.hpp
index 86e0944..2c90dbf 100644
--- a/jrj/project/viewobject/view.base.hpp
+++ b/jrj/project/viewobject/view.base.hpp
@@ -41,13 +41,13 @@
return arg;
}
- string GetGuid()
+ static string GetGuid()
{
return publiccode::GetGuid();
}
//获取行元素的值
- xstring GetElementString(KXMLDOMElement e, xstring name)
+ static xstring GetElementString(KXMLDOMElement e, xstring name)
{
if (name == L"") return L"";
if (e.selectSingleNode(name))
@@ -56,7 +56,7 @@
return L"";
}
- string GetElementString(KXMLDOMElement e, xstring name, bool isdisplay)
+ static string GetElementString(KXMLDOMElement e, xstring name, bool isdisplay)
{
if (isdisplay) name += L"/@_displaystring";
return GetElementString(e, name);
@@ -276,7 +276,7 @@
dwobj.Redraw();
}
- int AddMessage(string serverUrl, string Category, string Reciever, string EntityNo, string EntityID, string Subject, string Content)
+ static int AddMessage(string serverUrl, string Category, string Reciever, string EntityNo, string EntityID, string Subject, string Content)
{
KXMLDOMDocument x;
xaserverarg arg;
--
Gitblit v1.9.3