comparison Plugins/Engine/OrthancPlugins.cpp @ 1162:1ea4094d077c db-changes

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 17 Sep 2014 13:25:37 +0200
parents 0479d02c6778
children 5b2d8c280ac2
comparison
equal deleted inserted replaced
1161:82cbf1480aac 1162:1ea4094d077c
616 default: 616 default:
617 throw OrthancException(ErrorCode_InternalError); 617 throw OrthancException(ErrorCode_InternalError);
618 } 618 }
619 619
620 std::list<std::string> result; 620 std::list<std::string> result;
621 pimpl_->context_.GetIndex().LookupTagValue(result, tag, p.argument, level); 621 pimpl_->context_.GetIndex().LookupIdentifier(result, tag, p.argument, level);
622 622
623 if (result.size() == 1) 623 if (result.size() == 1)
624 { 624 {
625 *p.result = CopyString(result.front()); 625 *p.result = CopyString(result.front());
626 } 626 }