Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 8270 → Rev 8271

/branches/Version13x/Scribus/scribus/desaxe/simple_actions.h
75,10 → 75,10
struct Factory : public MakeGenerator<Factory_body<Type>, Type, typename Factory_body<Type>::FunType>
{
Factory(typename Factory_body<Type>::FunType create)
: MakeGenerator<Factory_body<Type>, Type, typename Factory_body<Type>::FunType>::MakeGenerator(create) {}
: MakeGenerator<Factory_body<Type>, Type, typename Factory_body<Type>::FunType>(create) {}
 
Factory()
: MakeGenerator<Factory_body<Type>, Type, typename Factory_body<Type>::FunType>::MakeGenerator() {}
: MakeGenerator<Factory_body<Type>, Type, typename Factory_body<Type>::FunType>() {}
};
 
 
/branches/Version13x/Scribus/scribus/desaxe/saxiohelper.h
43,7 → 43,7
 
template<>
inline
unsigned int parse(Xml_string str)
unsigned int parse<unsigned int>(Xml_string str)
{
return parseUInt(str);
}
50,7 → 50,7
 
template<>
inline
int parse(Xml_string str)
int parse<int>(Xml_string str)
{
return parseInt(str);
}
57,7 → 57,7
 
template<>
inline
unsigned long parse(Xml_string str)
unsigned long parse<unsigned long>(Xml_string str)
{
return parseULong(str);
}
64,7 → 64,7
 
template<>
inline
long parse(Xml_string str)
long parse<long>(Xml_string str)
{
return parseLong(str);
}
71,7 → 71,7
 
template<>
inline
double parse(Xml_string str)
double parse<double>(Xml_string str)
{
return parseDouble(str);
}
78,7 → 78,7
 
template<>
inline
float parse(Xml_string str)
float parse<float>(Xml_string str)
{
return parseFloat(str);
}
85,7 → 85,7
 
template<>
inline
bool parse(Xml_string str)
bool parse<bool>(Xml_string str)
{
return parseBool(str);
}