1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 10:49:24 +02:00
This commit is contained in:
Nikolay Pultsin 2014-03-30 04:02:24 +03:00
parent a4221e74e3
commit 06e46d4c33

View file

@ -126,7 +126,7 @@ bool StyleSheetTable::doBreakAfter(const std::string &tag, const std::string &aC
shared_ptr<ZLTextStyleEntry> StyleSheetTable::control(const std::string &tag, const std::string &aClass) const {
std::map<Key,shared_ptr<ZLTextStyleEntry> >::const_iterator it =
myControlMap.find(Key(tag, aClass));
return (it != myControlMap.end()) ? it->second : 0;
return it != myControlMap.end() ? it->second : 0;
}
const std::string &StyleSheetTable::value(const AttributeMap &map, const std::string &name) {