summaryrefslogtreecommitdiff
path: root/forms/source
diff options
context:
space:
mode:
authorGuillaume Poussel <gpoussel@gmail.com>2011-02-13 17:35:58 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-13 17:35:58 +0100
commit8add7525175749499cb8f6cc24e23e434beb49e9 (patch)
treeaa423dd2dcc0092b54fa503e29649b09ed7ad29d /forms/source
parente66aaababcd2bb4b660f798a06d518e394c1c855 (diff)
Remove bogus comments
Diffstat (limited to 'forms/source')
-rw-r--r--forms/source/component/DatabaseForm.cxx3
-rw-r--r--forms/source/component/Edit.cxx1
-rw-r--r--forms/source/component/File.cxx1
-rw-r--r--forms/source/component/Filter.cxx1
-rw-r--r--forms/source/component/FormComponent.cxx10
-rw-r--r--forms/source/component/FormattedField.cxx5
-rw-r--r--forms/source/component/ImageControl.cxx5
-rw-r--r--forms/source/component/ListBox.cxx2
-rw-r--r--forms/source/component/clickableimage.cxx1
-rw-r--r--forms/source/misc/InterfaceContainer.cxx2
-rw-r--r--forms/source/runtime/formoperations.cxx2
11 files changed, 9 insertions, 24 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx
index cd6ebeae1160..79205f7859f1 100644
--- a/forms/source/component/DatabaseForm.cxx
+++ b/forms/source/component/DatabaseForm.cxx
@@ -2106,8 +2106,7 @@ void ODatabaseForm::reset_impl(bool _bAproveByListeners)
aResetGuard.reset();
// ensure that the row isn't modified
// (do this _before_ the listeners are notified ! their reaction (maybe asynchronous) may depend
- // on the modified state of the row
- // 21.02.00 - 73265 - FS)
+ // on the modified state of the row)
if (bInsertRow)
m_xAggregateSet->setPropertyValue(PROPERTY_ISMODIFIED, ::cppu::bool2any(sal_Bool(sal_False)));
diff --git a/forms/source/component/Edit.cxx b/forms/source/component/Edit.cxx
index e5f5375f0e1a..c7cdda51722a 100644
--- a/forms/source/component/Edit.cxx
+++ b/forms/source/component/Edit.cxx
@@ -561,7 +561,6 @@ void OEditModel::write(const Reference<XObjectOutputStream>& _rxOutStream) throw
{ // -> fuer die Dauer des Speicherns meinem aggregierten Model die alte TextLen einreden
// before doing this we have to save the current text value of the aggregate, as this may be affected by resetting the text len
- // FS - 08.12.99 - 70606
aCurrentText = m_xAggregateSet->getPropertyValue(PROPERTY_TEXT);
m_xAggregateSet->getPropertyValue(PROPERTY_MAXTEXTLEN) >>= nOldTextLen;
diff --git a/forms/source/component/File.cxx b/forms/source/component/File.cxx
index 4e4b62dc6131..a780574c97bd 100644
--- a/forms/source/component/File.cxx
+++ b/forms/source/component/File.cxx
@@ -294,7 +294,6 @@ void OFileControlModel::_reset()
{ // release our mutex once (it's acquired in the calling method !), as setting aggregate properties
// may cause any uno controls belonging to us to lock the solar mutex, which is potentially dangerous with
// our own mutex locked
- // FS - 72451 - 31.01.00
MutexRelease aRelease(m_aMutex);
m_xAggregateSet->setPropertyValue(PROPERTY_TEXT, makeAny(m_sDefaultValue));
}
diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx
index 07e964bf5c43..cfc0ec5e6e09 100644
--- a/forms/source/component/Filter.cxx
+++ b/forms/source/component/Filter.cxx
@@ -256,7 +256,6 @@ namespace frm
OControl::initFormControlPeer( getPeer() );
// filter controls are _never_ readonly
- // #107013# - 2002-02-03 - fs@openoffice.org
Reference< XPropertySet > xModel( getModel(), UNO_QUERY_THROW );
Reference< XPropertySetInfo > xModelPSI( xModel->getPropertySetInfo(), UNO_SET_THROW );
if ( xModelPSI->hasPropertyByName( PROPERTY_READONLY ) )
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx
index e79d97cb7cc0..55572a73afe8 100644
--- a/forms/source/component/FormComponent.cxx
+++ b/forms/source/component/FormComponent.cxx
@@ -599,7 +599,7 @@ OControlModel::OControlModel(
,m_bNativeLook( sal_False )
// form controls are usually embedded into documents, not dialogs, and in documents
// the native look is ugly ....
- // #i37342# / 2004-11-19 / frank.schoenheit@sun.com
+ // #i37342#
{
DBG_CTOR(OControlModel, NULL);
if (_rUnoControlModelTypeName.getLength()) // the is a model we have to aggregate
@@ -2162,7 +2162,7 @@ void OBoundControlModel::initFromField( const Reference< XRowSet >& _rxRowSet )
transferDbValueToControl();
else
// reset the field if the row set is empty
- // #i30661# / 2004-12-16 / frank.schoenheit@sun.com
+ // #i30661#
resetNoBroadcast();
}
}
@@ -2335,7 +2335,6 @@ void OBoundControlModel::doSetControlValue( const Any& _rValue )
// release our mutex once (it's acquired in one of the the calling methods), as setting aggregate properties
// may cause any uno controls belonging to us to lock the solar mutex, which is potentially dangerous with
// our own mutex locked
- // #72451# / 2000-01-31 / frank.schoenheit@sun.com
MutexRelease aRelease( m_aMutex );
if ( ( m_nValuePropertyAggregateHandle != -1 ) && m_xAggregateFastSet.is() )
{
@@ -2476,10 +2475,7 @@ void OBoundControlModel::reset() throw (RuntimeException)
{
OSL_ENSURE( sal_False, "OBoundControlModel::reset: caught an SQL exception!" );
}
- // don't count the insert row as "invalid"
- // @since #i24495#
- // @date 2004-05-14
- // @author fs@openoffice.org
+ // #i24495# - don't count the insert row as "invalid"
sal_Bool bSimpleReset =
( !m_xColumn.is() // no connection to a database column
diff --git a/forms/source/component/FormattedField.cxx b/forms/source/component/FormattedField.cxx
index 0ada79edcf81..961c0d7e9207 100644
--- a/forms/source/component/FormattedField.cxx
+++ b/forms/source/component/FormattedField.cxx
@@ -127,7 +127,7 @@ StandardFormatsSupplier::StandardFormatsSupplier(const Reference< XMultiServiceF
{
SetNumberFormatter(m_pMyPrivateFormatter);
- // #i29147# - 2004-06-18 - fs@openoffice.org
+ // #i29147#
::utl::DesktopTerminationObserver::registerTerminationListener( this );
}
@@ -184,7 +184,7 @@ void StandardFormatsSupplier::notifyTermination()
Reference< XNumberFormatsSupplier > xKeepAlive = this;
// when the application is terminating, release our static reference so that we are cleared/destructed
// earlier than upon unloading the library
- // #i29147# - 2004-06-18 - fs@openoffice.org
+ // #i29147#
s_xDefaultFormatsSupplier = WeakReference< XNumberFormatsSupplier >( );
SetNumberFormatter( NULL );
@@ -689,7 +689,6 @@ void OFormattedModel::loaded(const EventObject& rEvent) throw ( ::com::sun::star
// property requests and one for our own code. This would need a lot of code rewriting
// alternative b): The NumberFormatter has to be really threadsafe (with an own mutex), which is
// the only "clean" solution for me.
- // FS - 69603 - 02.11.99
SolarMutexGuard aGuard;
OEditBaseModel::loaded(rEvent);
diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx
index fe58bda8674b..5fd9942b33cb 100644
--- a/forms/source/component/ImageControl.cxx
+++ b/forms/source/component/ImageControl.cxx
@@ -180,7 +180,6 @@ OImageControlModel::OImageControlModel( const OImageControlModel* _pOriginal, co
osl_incrementInterlockedCount( &m_refCount );
{
// simulate a propertyChanged event for the ImageURL
- // 2003-05-15 - #109591# - fs@openoffice.org
::osl::MutexGuard aGuard( m_aMutex );
impl_handleNewImageURL_lck( eOther );
}
@@ -644,7 +643,6 @@ void OImageControlModel::doSetControlValue( const Any& _rValue )
// release our mutex once (it's acquired in the calling method!), as starting the image production may
// result in the locking of the solar mutex (unfortunally the default implementation of our aggregate,
// VCLXImageControl, does this locking)
- // FS - 74438 - 30.03.00
MutexRelease aRelease(m_aMutex);
xProducer->startProduction();
}
@@ -861,7 +859,7 @@ bool OImageControlControl::implInsertGraphics()
// Force bIsLink to be TRUE if we're bound to a field. Though we initialized the file picker with IsLink=TRUE
// in this case, and disabled the respective control, there might be picker implementations which do not
// respect this, and return IsLink=FALSE here. In this case, "normalize" the flag.
- // #i112659# / 2010-08-26 / frank.schoenheit@oracle.com
+ // #i112659#
bIsLink |= bHasField;
if ( !bIsLink )
{
@@ -973,7 +971,6 @@ void OImageControlControl::mousePressed(const ::com::sun::star::awt::MouseEvent&
// wenn Control nicht gebunden ist, kein Dialog (da die zu schickende URL hinterher sowieso
// versanden wuerde)
- // FS - #64946# - 19.04.99
Reference<XPropertySet> xBoundField;
if (hasProperty(PROPERTY_BOUNDFIELD, xSet))
::cppu::extractInterface(xBoundField, xSet->getPropertyValue(PROPERTY_BOUNDFIELD));
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index 734704c33c76..575a55d84db6 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -411,7 +411,7 @@ namespace frm
void SAL_CALL OListBoxModel::setPropertyValues( const Sequence< ::rtl::OUString >& _rPropertyNames, const Sequence< Any >& _rValues ) throw(PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException)
{
// if both SelectedItems and StringItemList are set, care for this
- // #i27024# / 2004-04-05 / fs@openoffice.org
+ // #i27024#
const Any* pSelectSequenceValue = NULL;
const ::rtl::OUString* pStartPos = _rPropertyNames.getConstArray();
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx
index ff9cc69d7794..dc839f679c4b 100644
--- a/forms/source/component/clickableimage.cxx
+++ b/forms/source/component/clickableimage.cxx
@@ -500,7 +500,6 @@ namespace frm
osl_incrementInterlockedCount( &m_refCount );
{
// simulate a propertyChanged event for the ImageURL
- // 2003-05-15 - #109591# - fs@openoffice.org
Any aImageURL;
getFastPropertyValue( aImageURL, PROPERTY_ID_IMAGE_URL );
_propertyChanged( PropertyChangeEvent( *this, PROPERTY_IMAGE_URL, sal_False, PROPERTY_ID_IMAGE_URL, Any( ), aImageURL ) );
diff --git a/forms/source/misc/InterfaceContainer.cxx b/forms/source/misc/InterfaceContainer.cxx
index 7374370c0b2c..8fff1f79fa20 100644
--- a/forms/source/misc/InterfaceContainer.cxx
+++ b/forms/source/misc/InterfaceContainer.cxx
@@ -554,7 +554,6 @@ void SAL_CALL OInterfaceContainer::read( const Reference< XObjectInputStream >&
// after ::read the object is expected to be in the state it was when ::write was called, so we have
// to empty ourself here
- // FS - 71598 - 12.01.00
while (getCount())
removeByIndex(0);
@@ -583,7 +582,6 @@ void SAL_CALL OInterfaceContainer::read( const Reference< XObjectInputStream >&
if ( !xObj.is() )
// couldn't handle it
throw;
- // 72133 - 09.02.00 - FS
}
catch(Exception&)
{
diff --git a/forms/source/runtime/formoperations.cxx b/forms/source/runtime/formoperations.cxx
index 6261648e1e42..5bca1a5447a6 100644
--- a/forms/source/runtime/formoperations.cxx
+++ b/forms/source/runtime/formoperations.cxx
@@ -548,7 +548,7 @@ namespace frm
m_xLoadableForm->reload();
// refresh all controls in the form (and sub forms) which can be refreshed
- // #i90914# / 2008-07-02 / frank.schoenheit@sun.com
+ // #i90914#
::comphelper::IndexAccessIterator aIter( m_xLoadableForm );
Reference< XInterface > xElement( aIter.Next() );
while ( xElement.is() )