propagg.cxx (dde7d3fa) propagg.cxx (49b34792)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 495 unchanged lines hidden (view full) ---

504 OSL_ENSURE(m_xAggregateSet.is(), "OPropertySetAggregationHelper::propertiesChange : have no aggregate !");
505
506 sal_Int32 nLen = _rEvents.getLength();
507 cppu::IPropertyArrayHelper& rPH = getInfoHelper();
508
509 if (1 == nLen)
510 {
511 const ::com::sun::star::beans::PropertyChangeEvent& evt = _rEvents.getConstArray()[0];
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 495 unchanged lines hidden (view full) ---

504 OSL_ENSURE(m_xAggregateSet.is(), "OPropertySetAggregationHelper::propertiesChange : have no aggregate !");
505
506 sal_Int32 nLen = _rEvents.getLength();
507 cppu::IPropertyArrayHelper& rPH = getInfoHelper();
508
509 if (1 == nLen)
510 {
511 const ::com::sun::star::beans::PropertyChangeEvent& evt = _rEvents.getConstArray()[0];
512 OSL_ENSURE(evt.PropertyName.getLength() > 0, "OPropertySetAggregationHelper::propertiesChange : invalid event !");
512 OSL_ENSURE( !evt.PropertyName.isEmpty(), "OPropertySetAggregationHelper::propertiesChange : invalid event !");
513 // we had a bug where this assertion would have us saved a whole day :) (72514)
514 sal_Int32 nHandle = rPH.getHandleByName( evt.PropertyName );
515
516 // If nHandle is -1 the event marks a (aggregate) property which we hide to callers
517 // If isCurrentlyForwardingProperty( nHandle ) is <TRUE/>, then we ourself triggered
518 // setting this property. In this case, it will be notified later (by the OPropertySetHelper
519 // implementation)
520

--- 523 unchanged lines hidden ---
513 // we had a bug where this assertion would have us saved a whole day :) (72514)
514 sal_Int32 nHandle = rPH.getHandleByName( evt.PropertyName );
515
516 // If nHandle is -1 the event marks a (aggregate) property which we hide to callers
517 // If isCurrentlyForwardingProperty( nHandle ) is <TRUE/>, then we ourself triggered
518 // setting this property. In this case, it will be notified later (by the OPropertySetHelper
519 // implementation)
520

--- 523 unchanged lines hidden ---