summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxwindow.cxx1
-rw-r--r--toolkit/source/awt/vclxwindows.cxx8
-rw-r--r--toolkit/source/controls/dialogcontrol.cxx4
-rw-r--r--toolkit/source/controls/unocontrol.cxx8
-rw-r--r--toolkit/source/controls/unocontrolmodel.cxx5
-rw-r--r--toolkit/source/controls/unocontrols.cxx2
6 files changed, 6 insertions, 22 deletions
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx
index aac6b3d587d4..243f682f1097 100644
--- a/toolkit/source/awt/vclxwindow.cxx
+++ b/toolkit/source/awt/vclxwindow.cxx
@@ -745,7 +745,6 @@ void VCLXWindow::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
// handles a context menu command as special case of a mouse event, which is simply wrong.
// Without extending the API, we would not have another chance to notify listeners of a
// keyboard-triggered context menu request
- // 102205 - 16.08.2002 - fs@openoffice.org
aWhere = Point( -1, -1 );
}
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index 7e6a1ffcd535..3031cb70b6cc 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -581,7 +581,6 @@ void VCLXButton::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
// since we call listeners below, there is a potential that we will be destroyed
// during the listener call. To prevent the resulting crashs, we keep us
// alive as long as we're here
- // #20178# - 2003-10-01 - fs@openoffice.org
if ( maActionListeners.getLength() )
{
@@ -1024,7 +1023,6 @@ void VCLXCheckBox::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
// since we call listeners below, there is a potential that we will be destroyed
// in during the listener call. To prevent the resulting crashs, we keep us
// alive as long as we're here
- // #20178# - 2003-10-01 - fs@openoffice.org
CheckBox* pCheckBox = (CheckBox*)GetWindow();
if ( pCheckBox )
@@ -1298,7 +1296,6 @@ void VCLXRadioButton::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent
// since we call listeners below, there is a potential that we will be destroyed
// in during the listener call. To prevent the resulting crashs, we keep us
// alive as long as we're here
- // #20178# - 2003-10-01 - fs@openoffice.org
switch ( rVclWindowEvent.GetId() )
{
@@ -1451,7 +1448,6 @@ void VCLXSpinField::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
// since we call listeners below, there is a potential that we will be destroyed
// in during the listener call. To prevent the resulting crashs, we keep us
// alive as long as we're here
- // #20178# - 2003-10-01 - fs@openoffice.org
if ( maSpinListeners.getLength() )
{
@@ -1808,7 +1804,6 @@ void VCLXListBox::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
// since we call listeners below, there is a potential that we will be destroyed
// in during the listener call. To prevent the resulting crashs, we keep us
// alive as long as we're here
- // #20178# - 2003-10-01 - fs@openoffice.org
switch ( rVclWindowEvent.GetId() )
{
@@ -3772,7 +3767,6 @@ void VCLXScrollBar::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
// since we call listeners below, there is a potential that we will be destroyed
// in during the listener call. To prevent the resulting crashs, we keep us
// alive as long as we're here
- // #20178# - 2003-10-01 - fs@openoffice.org
if ( maAdjustmentListeners.getLength() )
{
@@ -4185,7 +4179,6 @@ void VCLXEdit::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
// since we call listeners below, there is a potential that we will be destroyed
// during the listener call. To prevent the resulting crashs, we keep us
// alive as long as we're here
- // #20178# - 2003-10-01 - fs@openoffice.org
if ( GetTextListeners().getLength() )
{
@@ -4492,7 +4485,6 @@ void VCLXComboBox::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
// since we call listeners below, there is a potential that we will be destroyed
// during the listener call. To prevent the resulting crashs, we keep us
// alive as long as we're here
- // #20178# - 2003-10-01 - fs@openoffice.org
switch ( rVclWindowEvent.GetId() )
{
diff --git a/toolkit/source/controls/dialogcontrol.cxx b/toolkit/source/controls/dialogcontrol.cxx
index 51b00190a921..952cf533e0bb 100644
--- a/toolkit/source/controls/dialogcontrol.cxx
+++ b/toolkit/source/controls/dialogcontrol.cxx
@@ -1616,7 +1616,6 @@ void UnoDialogControl::ImplInsertControl( Reference< XControlModel >& rxModel, c
addControl( rName, xCtrl );
// will implicitly call addingControl, where we can add the PropertiesChangeListener to the model
// (which we formerly did herein)
- // 08.01.2001 - 96008 - fs@openoffice.org
ImplSetPosSize( xCtrl );
}
@@ -1759,7 +1758,6 @@ sal_Bool UnoDialogControl::setModel( const Reference< XControlModel >& rxModel )
removeControl( *pCtrls );
// will implicitly call removingControl, which will remove the PropertyChangeListener
// (which we formerly did herein)
- // 08.01.2001 - 96008 - fs@openoffice.org
Reference< XContainer > xC( getModel(), UNO_QUERY );
if ( xC.is() )
@@ -2412,7 +2410,6 @@ void UnoParentControl::ImplInsertControl( Reference< XControlModel >& rxModel, c
addControl( rName, xCtrl );
// will implicitly call addingControl, where we can add the PropertiesChangeListener to the model
// (which we formerly did herein)
- // 08.01.2001 - 96008 - fs@openoffice.org
ImplSetPosSize( xCtrl );
}
@@ -2519,7 +2516,6 @@ sal_Bool UnoParentControl::setModel( const Reference< XControlModel >& rxModel )
removeControl( *pCtrls );
// will implicitly call removingControl, which will remove the PropertyChangeListener
// (which we formerly did herein)
- // 08.01.2001 - 96008 - fs@openoffice.org
Reference< XContainer > xC( getModel(), UNO_QUERY );
if ( xC.is() )
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx
index 24567118016b..d0bae3c244c3 100644
--- a/toolkit/source/controls/unocontrol.cxx
+++ b/toolkit/source/controls/unocontrol.cxx
@@ -649,14 +649,13 @@ void UnoControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent
aGuard.clear();
// clear the guard before creating a new peer - as usual, our peer implementations use the SolarMutex
- // #82300# - 2000-12-21 - fs@openoffice.org
+
if (bNeedNewPeer && xParent.is())
{
SolarMutexGuard aVclGuard;
// and now this is the final withdrawal:
- // With 83561, I have no other idea than locking the SolarMutex here ....
+ // I have no other idea than locking the SolarMutex here ....
// I really hate the fact that VCL is not theadsafe ....
- // #83561# - 2001-03-01 - fs@openoffice.org
// Funktioniert beim Container nicht!
getPeer()->dispose();
@@ -674,7 +673,7 @@ void UnoControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent
// model did not cause the listeners of the controls/peers to be called
// Since the implementations for the listeners changed a lot towards 1.1, this
// would not be the case anymore, if we would not do this listener-lock below
- // #i14703# - 2003-05-23 - fs@openoffice.org
+ // #i14703#
Window* pVclPeer = VCLUnoHelper::GetWindow( getPeer() );
VCLXWindow* pPeer = pVclPeer ? pVclPeer->GetWindowPeer() : NULL;
VclListenerLock aNoVclEventMultiplexing( pPeer );
@@ -682,7 +681,6 @@ void UnoControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent
// setting peer properties may result in an attemp to acquire the solar mutex, 'cause the peers
// usually don't have an own mutex but use the SolarMutex instead.
// To prevent deadlocks resulting from this, we do this without our own mutex locked
- // 2000-11-03 - fs@openoffice.org
PropertyValueVectorIterator aEnd = aPeerPropertiesToSet.end();
for ( PropertyValueVectorIterator aLoop = aPeerPropertiesToSet.begin();
aLoop != aEnd;
diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx
index 9a38a551e149..2493dfe4289b 100644
--- a/toolkit/source/controls/unocontrolmodel.cxx
+++ b/toolkit/source/controls/unocontrolmodel.cxx
@@ -1170,7 +1170,7 @@ sal_Bool UnoControlModel::convertFastPropertyValue( Any & rConvertedValue, Any &
if ( bConverted )
rConvertedValue <<= nAsDouble;
else
- { // try as integer - 96136 - 2002-10-08 - fs@openoffice.org
+ { // try as integer
sal_Int32 nAsInteger = 0;
bConverted = ( rValue >>= nAsInteger );
if ( bConverted )
@@ -1395,7 +1395,6 @@ void UnoControlModel::setPropertyValues( const ::com::sun::star::uno::Sequence<
sal_Int32* pHandles = aHandles.getArray();
// may need to change the order in the sequence, for this we need a non-const value sequence
- // 15.05.2002 - 99314 - fs@openoffice.org
uno::Sequence< uno::Any > aValues( Values );
uno::Any* pValues = aValues.getArray();
@@ -1429,7 +1428,7 @@ void UnoControlModel::setPropertyValues( const ::com::sun::star::uno::Sequence<
// clear our guard before calling into setFastPropertyValues - this method
// will implicitly call property listeners, and this should not happen with
// our mutex locked
- // #i23451# - 2004-03-18 - fs@openoffice.org
+ // #i23451#
setFastPropertyValues( nProps, pHandles, pValues, nValidHandles );
}
else
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx
index af6a77695245..d7d651935bfc 100644
--- a/toolkit/source/controls/unocontrols.cxx
+++ b/toolkit/source/controls/unocontrols.cxx
@@ -1131,7 +1131,7 @@ void UnoRadioButtonControl::itemStateChanged( const awt::ItemEvent& rEvent ) thr
// Thus, we suppress all events with a new state other than "1". This is unlogical, and weird, when looking
// from a pure API perspective, but it's _compatible_ with older product versions, and this is
// all which matters here.
- // #i14703# - 2003-05-23 - fs@openoffice.org
+ // #i14703#
if ( 1 == rEvent.Selected )
{
if ( maItemListeners.getLength() )