Ignore:
Timestamp:
Jul 25, 2007, 5:59:35 PM (14 years ago)
Author:
Eugene Romanenko
Message:

DJVU plugin: djvulibre updated to version 3.5.19

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libdjvu/DjVmDir.cpp

    r17 r206  
    66//C-
    77//C- This software is subject to, and may be distributed under, the
    8 //C- GNU General Public License, Version 2. The license should have
     8//C- GNU General Public License, either Version 2 of the license,
     9//C- or (at your option) any later version. The license should have
    910//C- accompanied the software or you may obtain a copy of the license
    1011//C- from the Free Software Foundation at http://www.fsf.org .
     
    1516//C- GNU General Public License for more details.
    1617//C-
    17 //C- DjVuLibre-3.5 is derived from the DjVu(r) Reference Library
    18 //C- distributed by Lizardtech Software.  On July 19th 2002, Lizardtech
    19 //C- Software authorized us to replace the original DjVu(r) Reference
    20 //C- Library notice by the following text (see doc/lizard2002.djvu):
     18//C- DjVuLibre-3.5 is derived from the DjVu(r) Reference Library from
     19//C- Lizardtech Software.  Lizardtech Software has authorized us to
     20//C- replace the original DjVu(r) Reference Library notice by the following
     21//C- text (see doc/lizard2002.djvu and doc/lizardtech2007.djvu):
    2122//C-
    2223//C-  ------------------------------------------------------------------
     
    2728//C- |
    2829//C- | This software is subject to, and may be distributed under, the
    29 //C- | GNU General Public License, Version 2. The license should have
     30//C- | GNU General Public License, either Version 2 of the license,
     31//C- | or (at your option) any later version. The license should have
    3032//C- | accompanied the software or you may obtain a copy of the license
    3133//C- | from the Free Software Foundation at http://www.fsf.org .
     
    5254//C- +------------------------------------------------------------------
    5355//
    54 // $Id: DjVmDir.cpp,v 1.11 2005/12/30 15:22:16 leonb Exp $
    55 // $Name: $
     56// $Id: DjVmDir.cpp,v 1.13 2007/03/25 20:48:29 leonb Exp $
     57// $Name: release_3_5_19 $
    5658
    5759#ifdef HAVE_CONFIG_H
     
    559561{
    560562   GCriticalSectionLock lock((GCriticalSection *) &class_lock);
    561 
    562563   GPosition pos;
    563564   return (title2file.contains(title, pos))?title2file[pos]:(GP<DjVmDir::File>(0));
     
    783784   DEBUG_MSG("DjVmDir::set_file_title(): id='" << id << "', title='" << title << "'\n");
    784785   DEBUG_MAKE_INDENT(3);
    785    
    786    GCriticalSectionLock lock((GCriticalSection *) &class_lock);
    787 
     786   GCriticalSectionLock lock((GCriticalSection *) &class_lock);
    788787   GPosition pos;
    789    
    790       // First see, if the title is unique
    791    for(pos=files_list;pos;++pos)
    792    {
    793       GP<File> file=files_list[pos];
    794       if (file->id!=id && file->title==title)
    795         G_THROW( ERR_MSG("DjVmDir.title_in_use") "\t" + GUTF8String(title));
    796    }
    797 
    798788      // Check if ID is valid
    799789   if (!id2file.contains(id, pos))
Note: See TracChangeset for help on using the changeset viewer.