Ignore:
Timestamp:
Mar 31, 2010, 12:12:48 PM (11 years ago)
Author:
dmik
Message:

branches/kmk: Poppler: LuDocument::getInputFields: Return an empty sequence if there are no input fields to keep the old approach (originally used for links) working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/kmk/Lucide/plugins/ludoc/ludoc.cpp

    r321 r330  
    473473                                                                   long pagenum)
    474474{
    475     return NULL;
     475    // Abstract method, returns empty sequence
     476    LuDocument_LuInputFieldSequence *fields = NULL;
     477    fields = (LuDocument_LuInputFieldSequence *)SOMMalloc( sizeof( LuDocument_LuInputFieldSequence ) );
     478    fields->_maximum = 0;
     479    fields->_length = 0;
     480    fields->_buffer = NULL;
     481    return fields;
    476482}
    477483
Note: See TracChangeset for help on using the changeset viewer.