diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/valueacc.cxx | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/svtools/source/control/valueacc.cxx b/svtools/source/control/valueacc.cxx index f0d7ede91cc7..585908b4a0e8 100644 --- a/svtools/source/control/valueacc.cxx +++ b/svtools/source/control/valueacc.cxx @@ -776,35 +776,23 @@ void ValueSetAcc::ThrowIfDisposed (void) } } - - -bool ValueSetAcc::HasNoneField (void) const +bool ValueSetAcc::HasNoneField() const { - DBG_ASSERT (mpParent!=NULL, "ValueSetAcc::HasNoneField called with mpParent==NULL"); + assert(mpParent && "ValueSetAcc::HasNoneField called with mpParent==NULL"); return ((mpParent->GetStyle() & WB_NONEFIELD) != 0); } - - - - // - ValueItemAcc - - - ValueItemAcc::ValueItemAcc( ValueSetItem* pParent, bool bIsTransientChildrenDisabled ) : mpParent( pParent ), mbIsTransientChildrenDisabled( bIsTransientChildrenDisabled ) { } - - ValueItemAcc::~ValueItemAcc() { } - - void ValueItemAcc::FireAccessibleEvent( short nEventId, const uno::Any& rOldValue, const uno::Any& rNewValue ) { if( nEventId ) |