Changeset 20778 for gsdl/trunk/perllib/plugins/PagedImagePlugin.pm
- Timestamp:
- 2009-10-05T15:53:42+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/plugins/PagedImagePlugin.pm
r19999 r20778 394 394 my $self = shift(@_); 395 395 my ($filename_full_path, $filename_no_path, $doc_obj, $section, $rotate) = @_; 396 # check the filenames 397 return 0 if ($filename_no_path eq "" || !-f $filename_full_path); 398 399 # remember that this image file was one of our source files 400 $doc_obj->associate_source_file($filename_full_path); 401 396 402 # do rotation 397 403 if ((defined $rotate) && ($rotate eq "r")) { 398 # check the filenames399 return 0 if ($filename_no_path eq "" || !-f $filename_full_path);400 401 404 # we get a new temporary file which is rotated 402 405 $filename_full_path = $self->rotate_image($filename_full_path); … … 617 620 } 618 621 622 # remember that this text file was one of our source files 623 $doc_obj->associate_source_file($filename_full_path); 619 624 # Do encoding stuff 620 625 my ($language, $encoding) = $self->textcat_get_language_encoding ($filename_full_path);
Note:
See TracChangeset
for help on using the changeset viewer.