Yeah, this ability does nothing for your Magus is you do not take levels in another class that can cast spells.
For a more specific example, if you take a Cleric level and cast Cause Light Wounds, this ability lets you use Spellstrike or Spell Combat when doing so.