[calligra] Proper casting... same difference, but slightly prettier