23#include <com/sun/star/beans/XPropertySet.hpp>
24#include <com/sun/star/beans/XPropertyState.hpp>
29using ::com::sun::star::uno::Reference;
35 const OUString& rOuterName,
const OUString& rInnerName,
38 m_aOuterDefaultValue(
std::move( aNewOuterDefault ))
48 if( xInnerPropSet.is())
61 beans::PropertyState aState = beans::PropertyState_DIRECT_VALUE;
67 aState = beans::PropertyState_DEFAULT_VALUE;
69 catch(
const beans::UnknownPropertyException& )
virtual ~WrappedDefaultProperty() override
virtual css::uno::Any getPropertyDefault(const css::uno::Reference< css::beans::XPropertyState > &xInnerPropertyState) const override
virtual void setPropertyToDefault(const css::uno::Reference< css::beans::XPropertyState > &xInnerPropertyState) const override
WrappedDefaultProperty(const OUString &rOuterName, const OUString &rInnerName, css::uno::Any aNewOuterDefault)
virtual css::beans::PropertyState getPropertyState(const css::uno::Reference< css::beans::XPropertyState > &xInnerPropertyState) const override
css::uno::Any m_aOuterDefaultValue
virtual css::uno::Any getPropertyValue(const css::uno::Reference< css::beans::XPropertySet > &xInnerPropertySet) const
virtual css::uno::Any convertInnerToOuterValue(const css::uno::Any &rInnerValue) const
virtual void setPropertyValue(const css::uno::Any &rOuterValue, const css::uno::Reference< css::beans::XPropertySet > &xInnerPropertySet) const
#define DBG_UNHANDLED_EXCEPTION(...)