Following Ford Motor Credit Co. v. Hunsberger (2008) 163 Cal.App.4th 1526, this decision holds that when a contract contains an attorney fee clause, and the plaintiff rejects a 998 offer but then voluntarily dismisses the action, the defendant may not recover attorney fees from the plaintiff.  CCP 998 does not overcome Civ. Code 1717(b)(2)’s command that there is no prevailing party for purposes of a contractual attorney fee award when the action is voluntarily dismissed.