And not truncate it to an integer value. Add additional overload for attribute that takes an enumerated type, otherwise the compiler will complain about ambiguous conversion because it cannot choose between the attribute that takes a integral value and the one that takes a double value. Change-Id: I9eae22817ec3b26da7b9468d1c8b5e6f3e900538 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201193 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Jenkins