diff --git a/EditPlotHeader/src/wellloginformation.cpp b/EditPlotHeader/src/wellloginformation.cpp index e934a4f..45e6881 100644 --- a/EditPlotHeader/src/wellloginformation.cpp +++ b/EditPlotHeader/src/wellloginformation.cpp @@ -9,7 +9,7 @@ #include #include "ObjWelllogTABLE.h" #pragma execution_character_set("utf-8") -#define CE_JIN_XIN_XI_TABLE QString("测井信息表").toLocal8Bit() +#define CE_JIN_XIN_XI_TABLE QString("测井信息表")//.toLocal8Bit() using namespace std; //测井信息表 QString changenyr(QString vst) @@ -864,7 +864,7 @@ void WellLogInformation::ReadTable(QString tablename) return; } - int nTableFlag =pLogio->OpenTable(CE_JIN_XIN_XI_TABLE); + int nTableFlag =pLogio->OpenTable(tablename.toStdString().c_str()); //无表 if(nTableFlag==-1) {