| Index: xfa/fxfa/app/xfa_fwltheme.cpp
|
| diff --git a/xfa/fxfa/app/xfa_fwltheme.cpp b/xfa/fxfa/app/xfa_fwltheme.cpp
|
| index 6ebf4e3f41b04f5aead911d7cd08f234f373745f..11b70024c4f8ad1010264a51eb364629824875f4 100644
|
| --- a/xfa/fxfa/app/xfa_fwltheme.cpp
|
| +++ b/xfa/fxfa/app/xfa_fwltheme.cpp
|
| @@ -23,6 +23,14 @@
|
| #include "xfa/include/fwl/basewidget/fwl_pushbutton.h"
|
| #include "xfa/include/fwl/basewidget/fwl_scrollbar.h"
|
|
|
| +namespace {
|
| +
|
| +const FX_WCHAR* const g_FWLTheme_CalFonts[] = {
|
| + L"Arial", L"Courier New", L"DejaVu Sans",
|
| +};
|
| +
|
| +} // namespace
|
| +
|
| CXFA_FFWidget* XFA_ThemeGetOuterWidget(IFWL_Widget* pWidget) {
|
| IFWL_Widget* pOuter = pWidget;
|
| while (pOuter->GetOuter()) {
|
| @@ -66,9 +74,6 @@ CXFA_FWLTheme::~CXFA_FWLTheme() {
|
| delete m_pCaretTP;
|
| delete m_pBarcodeTP;
|
| }
|
| -static const FX_WCHAR* g_FWLTheme_CalFonts[] = {
|
| - L"Arial", L"Courier New", L"DejaVu Sans",
|
| -};
|
| FWL_ERR CXFA_FWLTheme::Initialize() {
|
| m_pTextOut = IFDE_TextOut::Create();
|
| for (size_t i = 0; !m_pCalendarFont && i < FX_ArraySize(g_FWLTheme_CalFonts);
|
|
|