10#ifndef INCLUDED_COMPHELPER_PROPERTYVALUE_HXX
11#define INCLUDED_COMPHELPER_PROPERTYVALUE_HXX
18#include <com/sun/star/beans/PropertyValue.hpp>
29template <
typename T, std::enable_if_t<!std::is_arithmetic_v<std::remove_reference_t<T>>,
int> = 0>
32 return { rName, 0, css::uno::toAny(std::forward<T>(rValue)),
33 css::beans::PropertyState_DIRECT_VALUE };
36template <
typename T, std::enable_if_t<std::is_arithmetic_v<T>,
int> = 0>
css::beans::PropertyValue makePropertyValue(const OUString &rName, T &&rValue)
Creates a beans::PropertyValue easily, i.e.