This commit is contained in:
Frank Schönheit 2001-04-26 11:36:28 +00:00
parent 098c26f3b5
commit f7a8454152
3 changed files with 22 additions and 23 deletions

View file

@ -2,9 +2,9 @@
*
* $RCSfile: FormComponent.cxx,v $
*
* $Revision: 1.9 $
* $Revision: 1.10 $
*
* last change: $Author: fs $ $Date: 2001-04-10 08:49:26 $
* last change: $Author: fs $ $Date: 2001-04-26 12:36:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -142,8 +142,7 @@ OControl::OControl(const Reference<com::sun::star::lang::XMultiServiceFactory>&
// das Aggregat selbst den Refcount erhoeht
increment(m_refCount);
{
m_xAggregate = Reference<XAggregation>(
_rxFactory->createInstance(_sService), UNO_QUERY);
m_xAggregate = Reference<XAggregation>(_rxFactory->createInstance(_sService), UNO_QUERY);
m_xControl = Reference<XControl>(m_xAggregate, UNO_QUERY);
}

View file

@ -2,9 +2,9 @@
*
* $RCSfile: FormattedField.cxx,v $
*
* $Revision: 1.11 $
* $Revision: 1.12 $
*
* last change: $Author: fs $ $Date: 2001-04-02 10:28:06 $
* last change: $Author: fs $ $Date: 2001-04-26 12:36:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses

View file

@ -2,9 +2,9 @@
*
* $RCSfile: ListBox.cxx,v $
*
* $Revision: 1.13 $
* $Revision: 1.14 $
*
* last change: $Author: fs $ $Date: 2001-04-02 13:32:00 $
* last change: $Author: fs $ $Date: 2001-04-26 12:36:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -1214,7 +1214,7 @@ OListBoxControl::OListBoxControl(const Reference<XMultiServiceFactory>& _rxFacto
xListbox->addItemListener(this);
}
// Refcount bei 2 fuer angemeldete Listener
sal_Int32 n = decrement(m_refCount);
decrement(m_refCount);
m_aChangeTimer.SetTimeout(500);
m_aChangeTimer.SetTimeoutHdl(LINK(this,OListBoxControl,OnTimeout));
@ -1248,7 +1248,7 @@ StringSequence SAL_CALL OListBoxControl::getSupportedServiceNames() throw(Runtim
//------------------------------------------------------------------------------
void SAL_CALL OListBoxControl::focusGained(const FocusEvent& _rEvent) throw(RuntimeException)
{
::osl::ClearableMutexGuard aGuard(m_aMutex);
::osl::MutexGuard aGuard(m_aMutex);
if (m_aChangeListeners.getLength()) // only if there are listeners
{
Reference<XPropertySet> xSet(getModel(), UNO_QUERY);