[calligra] Modified workaround for qreal issue