把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
This commit is contained in:
gjm committed 2026-10-04 00:04:20 +08:00
1 parent 2b0c2055ff
commit 164968b62e
6171 files changed
+191244 -191243

No files matched your search

@@ -1,4 +1,4 @@
#include "stdafx.h"
#include "stdafx.h"
#include "aecdbmultipartentity.h"
#include "simpleproperty.h"
#include "coretools.h"
@@ -43,7 +43,7 @@ Acad::ErrorStatus AecDbMultiPartEntity::Draw3d(AcGiDraw &dc) const
AecDbBDPipeBase::Draw3d(dc);
AcGePoint3d ptOrg = GetOrg();
// 以ptOrg为中心,边长100,画一个十字,在当前的UCS上
// 以ptOrg为中心,边长100,画一个十字,在当前的UCS上
AcGeVector3d vtX(GetXDir());
AcGeVector3d vtY(GetYDir());
AcGeVector3d vtZ(GetZDir());
@@ -154,7 +154,7 @@ Acad::ErrorStatus AecDbMultiPartEntity::subGetOsnapPoints(AcDb::OsnapMode osnapM
{
assertReadEnabled();
AcGePoint3d ptOrg = GetOrg();
// 以ptOrg为中心,边长100,画一个十字,在当前的UCS上
// 以ptOrg为中心,边长100,画一个十字,在当前的UCS上
AcGeVector3d vtX(GetXDir());
AcGeVector3d vtY(GetYDir());
AcGeVector3d vtZ(GetZDir());
@@ -183,7 +183,7 @@ Acad::ErrorStatus AecDbMultiPartEntity::subGetOsnapPoints(AcDb::OsnapMode osnapM
void AecDbMultiPartEntity::subList() const
{
assertReadEnabled();
acutPrintf(_T("\n异形构筑物:"));
acutPrintf(_T("\n异形构筑物:"));
AecDbBDPipeBase::subList();
}
@@ -214,7 +214,7 @@ int AecDbMultiPartEntity::GetDraw2dables(Adesk::UInt16 nDrawStyle, AcDbVoidPtrAr
pSolid = AcDb3dSolid::cast(pEnt);
if (pSolid != NULL)
{
//投影法
//投影法
OrthoProjected3DSolid(pSolid, plan, xform, arSubEntPtrs);
}
@@ -257,7 +257,7 @@ int AecDbMultiPartEntity::GetDraw2dables(Adesk::UInt16 nDrawStyle, AcDbVoidPtrAr
pSolid = AcDb3dSolid::cast(pClnEnt);
if (pSolid != NULL)
{
//投影法
//投影法
OrthoProjected3DSolid(pSolid, plan, xform, arSubEntPtrs);
continue;
}
@@ -325,7 +325,7 @@ Acad::ErrorStatus AecDbMultiPartEntity::dwgInFields (AcDbDwgFiler* pFiler)
if (version == 2)
{
//临时
//临时
AecDbObjXDataMap xMap;
xMap.dwgInFields(pFiler);
}
@@ -398,14 +398,14 @@ bool AecDbMultiPartEntity::GetProperties(SimpleProperty::PropertySetByIndex & po
CoreTools::setSubSystemPorperty(porpertys);
CString sName(_T("异形构筑"));
CString sName(_T("异形构筑"));
BOOL bPMFY(FALSE), bDLJC(FALSE);
if (GetSpecialtyData()->GetAt(_T("PMFY"), bPMFY))
sName = _T("平面放样");
sName = _T("平面放样");
else if (GetSpecialtyData()->GetAt(_T("DLJC"), bDLJC))
sName = _T("板基础");
sName = _T("板基础");
SimpleProperty::makeAndInsert(porpertys, _T("类型"), sName, false);
SimpleProperty::makeAndInsert(porpertys, _T("类型"), sName, false);
return true;
}