Index: fpdfsdk/fsdk_baseform.cpp |
diff --git a/fpdfsdk/fsdk_baseform.cpp b/fpdfsdk/fsdk_baseform.cpp |
index 86f5c5e501a1581868ddc922b9a3f745db67b88d..4a2540093f8bf323f0b41a20474faf5111ea9ac2 100644 |
--- a/fpdfsdk/fsdk_baseform.cpp |
+++ b/fpdfsdk/fsdk_baseform.cpp |
@@ -64,7 +64,7 @@ CXFA_FFWidget* CPDFSDK_Widget::GetMixXFAWidget() const { |
} |
if (!sName.IsEmpty()) |
- m_hMixXFAWidget = pDocView->GetWidgetByName(sName.AsStringC()); |
+ m_hMixXFAWidget = pDocView->GetWidgetByName(sName); |
} |
} |
return m_hMixXFAWidget; |
@@ -80,7 +80,7 @@ CXFA_FFWidget* CPDFSDK_Widget::GetGroupMixXFAWidget() { |
if (CXFA_FFDocView* pDocView = pDoc->GetXFADocView()) { |
CFX_WideString sName = GetName(); |
if (!sName.IsEmpty()) |
- return pDocView->GetWidgetByName(sName.AsStringC()); |
+ return pDocView->GetWidgetByName(sName); |
} |
} |