Index: fpdfsdk/src/fsdk_baseform.cpp |
diff --git a/fpdfsdk/src/fsdk_baseform.cpp b/fpdfsdk/src/fsdk_baseform.cpp |
index 79180324f74f48a82add9417a809e348df001f76..8245980fbb18a7e30c50fc3e8ad1e7fd2abc05a2 100644 |
--- a/fpdfsdk/src/fsdk_baseform.cpp |
+++ b/fpdfsdk/src/fsdk_baseform.cpp |
@@ -56,8 +56,9 @@ IXFA_Widget* CPDFSDK_Widget::GetMixXFAWidget() const { |
sName = GetAnnotName(); |
if (sName.IsEmpty()) |
sName = GetName(); |
- } else |
+ } else { |
sName = GetName(); |
+ } |
if (!sName.IsEmpty()) |
m_hMixXFAWidget = pDocView->GetWidgetByName(sName); |