--- parser3/src/main/pa_stylesheet_connection.C 2004/03/25 14:46:19 1.1.2.1 +++ parser3/src/main/pa_stylesheet_connection.C 2006/04/09 13:38:47 1.5 @@ -1,13 +1,13 @@ /** @file Parser: Stylesheet connection implementation. - Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #include "pa_config_includes.h" #ifdef XML -static const char * const IDENT_STYLESHEET_CONNECTION_C="$Date: 2004/03/25 14:46:19 $"; +static const char * const IDENT_STYLESHEET_CONNECTION_C="$Date: 2006/04/09 13:38:47 $"; #include "pa_stylesheet_connection.h" #include "pa_xml_exception.h" @@ -24,10 +24,8 @@ void Stylesheet_connection::load(time_t } dependencies=pa_xmlGetDependencies(); } - if(xmlHaveGenericErrors()) { - GdomeException exc=0; - throw XmlException(new String(ffile_spec, String::L_TAINTED), exc); - } + if(xmlHaveGenericErrors()) + throw XmlException(new String(ffile_spec, String::L_TAINTED)); if(!nstylesheet) throw Exception("file.missing", new String(ffile_spec, String::L_TAINTED), @@ -54,7 +52,7 @@ time_t Stylesheet_connection::get_disk_t assert(dependencies); time_t result=0; - dependencies->for_each(update_max_mtime, &result); + dependencies->for_each(update_max_mtime, &result); return result; }