summaryrefslogtreecommitdiff
path: root/xfa/src/fxfa/src/app/xfa_fontmgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fxfa/src/app/xfa_fontmgr.cpp')
-rw-r--r--xfa/src/fxfa/src/app/xfa_fontmgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/src/fxfa/src/app/xfa_fontmgr.cpp b/xfa/src/fxfa/src/app/xfa_fontmgr.cpp
index 2eba7649ee..23a1b29c01 100644
--- a/xfa/src/fxfa/src/app/xfa_fontmgr.cpp
+++ b/xfa/src/fxfa/src/app/xfa_fontmgr.cpp
@@ -1746,7 +1746,7 @@ const XFA_FONTINFO* XFA_GetFontINFOByFontName(
}
// static
IXFA_FontMgr* IXFA_FontMgr::CreateDefault() {
- return FX_NEW CXFA_DefFontMgr;
+ return new CXFA_DefFontMgr;
}
// virtual
IXFA_FontMgr::~IXFA_FontMgr() {}
@@ -2110,7 +2110,7 @@ IFX_Font* CXFA_FontMgr::GetFont(IXFA_Doc* hDoc,
}
void CXFA_FontMgr::LoadDocFonts(IXFA_Doc* hDoc) {
if (!m_PDFFontMgrArray.GetValueAt(hDoc)) {
- m_PDFFontMgrArray.SetAt(hDoc, FX_NEW CXFA_PDFFontMgr((CXFA_FFDoc*)hDoc));
+ m_PDFFontMgrArray.SetAt(hDoc, new CXFA_PDFFontMgr((CXFA_FFDoc*)hDoc));
}
}
void CXFA_FontMgr::ReleaseDocFonts(IXFA_Doc* hDoc) {