[calligra] Work around a qreal issue