controlmodelcontainerbase.cxx (b0724fc6) | controlmodelcontainerbase.cxx (030daa25) |
---|---|
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 --- 207 unchanged lines hidden (view full) --- 216// ---------------------------------------------------- 217// class ControlModelContainerBase 218// ---------------------------------------------------- 219ControlModelContainerBase::ControlModelContainerBase( const Reference< XMultiServiceFactory >& i_factory ) 220 :ControlModelContainer_IBase( i_factory ) 221 ,maContainerListeners( *this ) 222 ,maChangeListeners ( GetMutex() ) 223 ,mbGroupsUpToDate( sal_False ) | 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 --- 207 unchanged lines hidden (view full) --- 216// ---------------------------------------------------- 217// class ControlModelContainerBase 218// ---------------------------------------------------- 219ControlModelContainerBase::ControlModelContainerBase( const Reference< XMultiServiceFactory >& i_factory ) 220 :ControlModelContainer_IBase( i_factory ) 221 ,maContainerListeners( *this ) 222 ,maChangeListeners ( GetMutex() ) 223 ,mbGroupsUpToDate( sal_False ) |
224 ,m_bEnabled( sal_True ) |
|
224{ 225} 226 227ControlModelContainerBase::ControlModelContainerBase( const ControlModelContainerBase& rModel ) 228 : ControlModelContainer_IBase( rModel ) 229 , maContainerListeners( *this ) 230 , maChangeListeners ( GetMutex() ) 231 , mbGroupsUpToDate( sal_False ) --- 528 unchanged lines hidden (view full) --- 760} 761::rtl::OUString SAL_CALL ControlModelContainerBase::getTitle() throw (::com::sun::star::uno::RuntimeException) 762{ 763 vos::OGuard aSolarGuard( Application::GetSolarMutex() ); 764 Reference<XPropertySet> xThis(*this,UNO_QUERY); 765 ::rtl::OUString sTitle; 766 xThis->getPropertyValue(GetPropertyName(BASEPROPERTY_TITLE)) >>= sTitle; 767 return sTitle; | 225{ 226} 227 228ControlModelContainerBase::ControlModelContainerBase( const ControlModelContainerBase& rModel ) 229 : ControlModelContainer_IBase( rModel ) 230 , maContainerListeners( *this ) 231 , maChangeListeners ( GetMutex() ) 232 , mbGroupsUpToDate( sal_False ) --- 528 unchanged lines hidden (view full) --- 761} 762::rtl::OUString SAL_CALL ControlModelContainerBase::getTitle() throw (::com::sun::star::uno::RuntimeException) 763{ 764 vos::OGuard aSolarGuard( Application::GetSolarMutex() ); 765 Reference<XPropertySet> xThis(*this,UNO_QUERY); 766 ::rtl::OUString sTitle; 767 xThis->getPropertyValue(GetPropertyName(BASEPROPERTY_TITLE)) >>= sTitle; 768 return sTitle; |
768 //return m_sTitle; | |
769} 770void SAL_CALL ControlModelContainerBase::setTitle( const ::rtl::OUString& _title ) throw (::com::sun::star::uno::RuntimeException) 771{ 772 vos::OGuard aSolarGuard( Application::GetSolarMutex() ); 773 Reference<XPropertySet> xThis(*this,UNO_QUERY); 774 xThis->setPropertyValue(GetPropertyName(BASEPROPERTY_TITLE),makeAny(_title)); 775} 776::rtl::OUString SAL_CALL ControlModelContainerBase::getImageURL() throw (::com::sun::star::uno::RuntimeException) --- 1086 unchanged lines hidden --- | 769} 770void SAL_CALL ControlModelContainerBase::setTitle( const ::rtl::OUString& _title ) throw (::com::sun::star::uno::RuntimeException) 771{ 772 vos::OGuard aSolarGuard( Application::GetSolarMutex() ); 773 Reference<XPropertySet> xThis(*this,UNO_QUERY); 774 xThis->setPropertyValue(GetPropertyName(BASEPROPERTY_TITLE),makeAny(_title)); 775} 776::rtl::OUString SAL_CALL ControlModelContainerBase::getImageURL() throw (::com::sun::star::uno::RuntimeException) --- 1086 unchanged lines hidden --- |