No method calling needed to get paragraph duration

This commit is contained in:
ivandrofly 2015-06-20 04:28:58 +00:00
parent e7e86234e2
commit 79e5b93b2a

View File

@ -17,9 +17,7 @@ namespace Nikse.SubtitleEdit.Logic
{
get
{
var timeCode = new TimeCode(EndTime.TotalMilliseconds);
timeCode.AddTime(-StartTime.TotalMilliseconds);
return timeCode;
return new TimeCode(EndTime.TotalMilliseconds - StartTime.TotalMilliseconds);
}
}