summaryrefslogtreecommitdiff
path: root/xfa/fxfa/include/xfa_ffapp.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/include/xfa_ffapp.h')
-rw-r--r--xfa/fxfa/include/xfa_ffapp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/include/xfa_ffapp.h b/xfa/fxfa/include/xfa_ffapp.h
index c8df27da5b..191bb14174 100644
--- a/xfa/fxfa/include/xfa_ffapp.h
+++ b/xfa/fxfa/include/xfa_ffapp.h
@@ -36,7 +36,7 @@ class CXFA_FileRead : public IFX_FileRead {
class CXFA_FFApp {
public:
- CXFA_FFApp(IXFA_AppProvider* pProvider);
+ explicit CXFA_FFApp(IXFA_AppProvider* pProvider);
~CXFA_FFApp();
CXFA_FFDocHandler* GetDocHandler();
@@ -45,7 +45,7 @@ class CXFA_FFApp {
FX_BOOL bTakeOverFile);
CXFA_FFDoc* CreateDoc(IXFA_DocProvider* pProvider, CPDF_Document* pPDFDoc);
IXFA_AppProvider* GetAppProvider() { return m_pProvider; }
- void SetDefaultFontMgr(CXFA_DefFontMgr* pFontMgr);
+ void SetDefaultFontMgr(std::unique_ptr<CXFA_DefFontMgr> pFontMgr);
CXFA_FWLAdapterWidgetMgr* GetWidgetMgr(CFWL_WidgetMgrDelegate* pDelegate);
IFWL_AdapterTimerMgr* GetTimerMgr();