LibreOffice Module framework (master) 1
Static Public Member Functions | List of all members
framework::PropHelper Class Reference

provides some helper methods to implement property sets. More...

#include <properties.h>

Static Public Member Functions

static bool willPropertyBeChanged (const css::uno::Any &aCurrentValue, const css::uno::Any &aNewValue, css::uno::Any &aOldValue, css::uno::Any &aChangedValue)
 checks if given property will be changed by this settings. More...
 

Detailed Description

provides some helper methods to implement property sets.

Definition at line 97 of file properties.h.

Member Function Documentation

◆ willPropertyBeChanged()

static bool framework::PropHelper::willPropertyBeChanged ( const css::uno::Any &  aCurrentValue,
const css::uno::Any &  aNewValue,
css::uno::Any &  aOldValue,
css::uno::Any &  aChangedValue 
)
inlinestatic

checks if given property will be changed by this settings.

We compare the content of the given any values. If they are different we return sal_True - sal_False otherwise.

Parameters
aCurrentValuecontains the current value for this property
aNewValuecontains the new value for this property
aOldValuereturns the current value, in case something will be changed
aChangedValuereturns the new value, in case something will be changed
Returns
<True> if value of this property will be changed; <False> otherwise.

Definition at line 112 of file properties.h.

Referenced by framework::UIConfigElementWrapperBase::convertFastPropertyValue(), framework::RootItemContainer::convertFastPropertyValue(), and framework::Desktop::convertFastPropertyValue().


The documentation for this class was generated from the following file: