Changeset 51fd645cf759
- Timestamp:
- 11/16/08 22:04:11 (7 weeks ago)
- Branch:
- trunk
- Files:
-
- 1 modified
-
mcs/mcs.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mcs/mcs.cpp
r1001 r1002 262 262 g_return_if_fail( domains.find(domain) != domains.end() ); 263 263 264 KeyType type = KeyType(key_default.which()); 265 KeyVariant variant = key_default; 264 domains.find( domain )->second[key] = Key( domain, key, key_default, KeyType(key_default.which()) ); 266 265 267 266 if( !m_doc ) 268 267 { 269 domains.find( domain )->second[key] = Key( domain, key, variant, type );270 268 return; 271 269 } 272 270 271 Key & key_instance = domains.find( domain )->second[key]; 272 KeyType type = key_instance.get_type(); 273 KeyVariant variant; 273 274 std::stringstream xpath; 274 275 xmlXPathObjectPtr xpathObj; … … 336 337 } 337 338 338 domains.find( domain )->second[key] = Key( domain, key, variant, type);339 key_instance.set_value_silent( variant ); 339 340 340 341 clear_xpathobj:
