OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #include "fpdfsdk/include/formfiller/FFL_ComboBox.h" | 7 #include "fpdfsdk/include/formfiller/FFL_ComboBox.h" |
8 | 8 |
9 #include "fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h" | 9 #include "fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h" |
10 #include "fpdfsdk/include/formfiller/FFL_FormFiller.h" | 10 #include "fpdfsdk/include/formfiller/FFL_FormFiller.h" |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 if (nExport >= 0) { | 293 if (nExport >= 0) { |
294 if (CPDF_FormField* pFormField = m_pWidget->GetFormField()) { | 294 if (CPDF_FormField* pFormField = m_pWidget->GetFormField()) { |
295 swRet = pFormField->GetOptionValue(nExport); | 295 swRet = pFormField->GetOptionValue(nExport); |
296 if (swRet.IsEmpty()) | 296 if (swRet.IsEmpty()) |
297 swRet = pFormField->GetOptionLabel(nExport); | 297 swRet = pFormField->GetOptionLabel(nExport); |
298 } | 298 } |
299 } | 299 } |
300 | 300 |
301 return swRet; | 301 return swRet; |
302 } | 302 } |
OLD | NEW |