Skip to content

Commit 8ea5c7c

Browse files
SDK regenerated by CI server [ci skip]
1 parent 551650c commit 8ea5c7c

File tree

5 files changed

+2
-11
lines changed

5 files changed

+2
-11
lines changed

include/aspose_words_cloud/models/form_field.h

-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ namespace aspose::words::cloud::models {
4040
ASPOSE_WORDS_CLOUD_EXPORT virtual void fromJson(const void* jsonIfc) override;
4141
ASPOSE_WORDS_CLOUD_EXPORT virtual void getFileReferences(std::vector< FileReference* >& result) override;
4242

43-
virtual void abstractFormField() = 0;
4443

4544
/// <summary>
4645
/// Gets or sets a value indicating whether references to the specified form field are automatically updated whenever the field is exited.

include/aspose_words_cloud/models/form_field_checkbox.h

-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ namespace aspose::words::cloud::models {
4040
ASPOSE_WORDS_CLOUD_EXPORT virtual void fromJson(const void* jsonIfc) override;
4141
ASPOSE_WORDS_CLOUD_EXPORT virtual void getFileReferences(std::vector< FileReference* >& result) override;
4242

43-
void abstractFormField() override {}
44-
45-
4643

4744
/// <summary>
4845
/// Gets or sets the size of the checkbox in points. Has effect only when IsCheckBoxExactSize is true.

include/aspose_words_cloud/models/form_field_drop_down.h

-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ namespace aspose::words::cloud::models {
4040
ASPOSE_WORDS_CLOUD_EXPORT virtual void fromJson(const void* jsonIfc) override;
4141
ASPOSE_WORDS_CLOUD_EXPORT virtual void getFileReferences(std::vector< FileReference* >& result) override;
4242

43-
void abstractFormField() override {}
44-
45-
4643

4744
/// <summary>
4845
/// Gets or sets the items array of a dropdown form field.

include/aspose_words_cloud/models/form_field_text_input.h

-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ namespace aspose::words::cloud::models {
5353
ASPOSE_WORDS_CLOUD_EXPORT virtual void fromJson(const void* jsonIfc) override;
5454
ASPOSE_WORDS_CLOUD_EXPORT virtual void getFileReferences(std::vector< FileReference* >& result) override;
5555

56-
void abstractFormField() override {}
57-
58-
5956

6057
/// <summary>
6158
/// Gets or sets the maximum length for the text field. Zero when the length is not limited.

src/models.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -8537,7 +8537,8 @@ namespace aspose::words::cloud::models {
85378537
WordsResponse::fromJson(jsonIfc);
85388538
::nlohmann::json& json = *((::nlohmann::json*)jsonIfc);
85398539
if (json.contains("FormField") && !json["FormField"].is_null()) {
8540-
throw aspose::words::cloud::ApiException(400, L"Cannot deserialize abstract data model FormField.");
8540+
this->m_FormField = std::make_shared< aspose::words::cloud::models::FormField >();
8541+
this->m_FormField->fromJson(&json["FormField"]);
85418542
}
85428543
}
85438544

0 commit comments

Comments
 (0)