summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpdfsdk/src/fsdk_mgr.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp
index 841bd197e0..2797bc8f9a 100644
--- a/fpdfsdk/src/fsdk_mgr.cpp
+++ b/fpdfsdk/src/fsdk_mgr.cpp
@@ -210,10 +210,8 @@ FX_SYSTEMTIME CFX_SystemHandler::GetLocalTime() {
CPDFDoc_Environment::CPDFDoc_Environment(CPDF_Document* pDoc,
FPDF_FORMFILLINFO* pFFinfo)
- : m_pInfo(pFFinfo),
- m_pSDKDoc(NULL),
- m_pPDFDoc(pDoc),
- m_pSysHandler(new CFX_SystemHandler(this)) {
+ : m_pInfo(pFFinfo), m_pSDKDoc(NULL), m_pPDFDoc(pDoc) {
+ m_pSysHandler.reset(new CFX_SystemHandler(this));
}
CPDFDoc_Environment::~CPDFDoc_Environment() {