Oh, or are you suggesting that an empty CScript would work for the isDust() call?  CTxOut::isDust() does use the size of the scriptPubKey.