composeduiupdate.cxx (2a97ec55) composeduiupdate.cxx (3d762826)
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

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

830
831 for ( ImplMapHandlerToUI::const_iterator singleUI = m_pCollectedUIs->aHandlers.begin();
832 singleUI != m_pCollectedUIs->aHandlers.end();
833 ++singleUI
834 )
835 {
836 singleUI->second->dispose();
837 }
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

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

830
831 for ( ImplMapHandlerToUI::const_iterator singleUI = m_pCollectedUIs->aHandlers.begin();
832 singleUI != m_pCollectedUIs->aHandlers.end();
833 ++singleUI
834 )
835 {
836 singleUI->second->dispose();
837 }
838 m_pCollectedUIs.reset( NULL );
838 m_pCollectedUIs.reset();
839 m_xDelegatorUI.set( NULL );
840 }
841
842 //----------------------------------------------------------------
843 bool ComposedPropertyUIUpdate::shouldContinuePropertyHandling( const ::rtl::OUString& _rName ) const
844 {
845 if ( !m_pPropertyCheck )
846 return true;
847 if ( m_pPropertyCheck->hasPropertyByName( _rName ) )
848 return true;
849 return false;
850 }
851
852//........................................................................
853} // namespace pcr
854//........................................................................
855
839 m_xDelegatorUI.set( NULL );
840 }
841
842 //----------------------------------------------------------------
843 bool ComposedPropertyUIUpdate::shouldContinuePropertyHandling( const ::rtl::OUString& _rName ) const
844 {
845 if ( !m_pPropertyCheck )
846 return true;
847 if ( m_pPropertyCheck->hasPropertyByName( _rName ) )
848 return true;
849 return false;
850 }
851
852//........................................................................
853} // namespace pcr
854//........................................................................
855