diff options
author | Chris Laplante <mostthingsweb@gmail.com> | 2014-05-24 17:17:30 -0400 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-25 14:35:17 -0500 |
commit | 04f31d13c5813f6ce1e3076c4e987ffb8fafb9b3 (patch) | |
tree | 80da561a4cf0f35eee8aeaa3cdb2166789b76364 | |
parent | 885b11cc5d6fb17ca3d0b47f20bd13f0775b1640 (diff) |
Remove ASCII art, useless comments and whitespace from forms module
Change-Id: Ib6157a493092a137a6b0bf5b96d0e760d307f9da
Reviewed-on: https://gerrit.libreoffice.org/9472
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
110 files changed, 22 insertions, 645 deletions
diff --git a/forms/source/component/Button.hxx b/forms/source/component/Button.hxx index 48f52e38a587..b12771319123 100644 --- a/forms/source/component/Button.hxx +++ b/forms/source/component/Button.hxx @@ -40,10 +40,6 @@ struct ImplSVEvent; namespace frm { - - -// OButtonModel - typedef ::cppu::ImplHelper1 < ::com::sun::star::form::XReset > OButtonModel_Base; class OButtonModel :public OClickableImageBaseModel diff --git a/forms/source/component/CheckBox.cxx b/forms/source/component/CheckBox.cxx index 8d92bbf5ccb3..365e4ed1d736 100644 --- a/forms/source/component/CheckBox.cxx +++ b/forms/source/component/CheckBox.cxx @@ -41,11 +41,6 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::util; using namespace ::com::sun::star::form::binding; - -//= OCheckBoxControl - - - OCheckBoxControl::OCheckBoxControl(const Reference<XComponentContext>& _rxFactory) :OBoundControl(_rxFactory, VCL_CONTROL_CHECKBOX) { diff --git a/forms/source/component/CheckBox.hxx b/forms/source/component/CheckBox.hxx index 3b81af0ae48f..b13cc93824c7 100644 --- a/forms/source/component/CheckBox.hxx +++ b/forms/source/component/CheckBox.hxx @@ -26,9 +26,6 @@ namespace frm { - -//= OCheckBoxModel - class OCheckBoxModel :public OReferenceValueComponent { protected: @@ -63,9 +60,6 @@ protected: virtual bool commitControlValueToDbColumn( bool _bPostReset ) SAL_OVERRIDE; }; - -//= OCheckBoxControl - class OCheckBoxControl : public OBoundControl { public: diff --git a/forms/source/component/Columns.cxx b/forms/source/component/Columns.cxx index f53fa142a188..68e668edfb68 100644 --- a/forms/source/component/Columns.cxx +++ b/forms/source/component/Columns.cxx @@ -111,8 +111,6 @@ sal_Int32 getColumnTypeByModelName(const OUString& aModelName) return nTypeId; } -/*************************************************************************/ - namespace { class theOGridColumnImplementationId : public rtl::Static< UnoTunnelIdInit, theOGridColumnImplementationId > {}; diff --git a/forms/source/component/Columns.hxx b/forms/source/component/Columns.hxx index 8c59e8df3ad3..89a95a1f6647 100644 --- a/forms/source/component/Columns.hxx +++ b/forms/source/component/Columns.hxx @@ -41,10 +41,6 @@ using namespace comphelper; namespace frm { - - -// OGridColumn - typedef ::cppu::WeakAggComponentImplHelper2 < ::com::sun::star::lang::XUnoTunnel , ::com::sun::star::util::XCloneable > OGridColumn_BASE; class OGridColumn :public ::comphelper::OBaseMutex diff --git a/forms/source/component/ComboBox.hxx b/forms/source/component/ComboBox.hxx index a2b32f70ad7e..22f983a41a66 100644 --- a/forms/source/component/ComboBox.hxx +++ b/forms/source/component/ComboBox.hxx @@ -41,9 +41,6 @@ namespace frm { - -// OComboBoxModel - class OComboBoxModel :public OBoundControlModel ,public OEntryListHelper @@ -144,10 +141,6 @@ protected: DECLARE_XCLONEABLE(); }; - -// OComboBoxControl - - class OComboBoxControl : public OBoundControl { public: diff --git a/forms/source/component/Currency.cxx b/forms/source/component/Currency.cxx index 66e94d3593f2..cbf99cc5520b 100644 --- a/forms/source/component/Currency.cxx +++ b/forms/source/component/Currency.cxx @@ -41,10 +41,6 @@ using namespace ::com::sun::star::io; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::util; - -// OCurrencyControl - - OCurrencyControl::OCurrencyControl(const Reference<XComponentContext>& _rxFactory) :OBoundControl(_rxFactory, VCL_CONTROL_CURRENCYFIELD) { diff --git a/forms/source/component/Currency.hxx b/forms/source/component/Currency.hxx index b9ba6b8a5de7..c1574beae510 100644 --- a/forms/source/component/Currency.hxx +++ b/forms/source/component/Currency.hxx @@ -26,10 +26,6 @@ namespace frm { - - -//= OCurrencyModel - class OCurrencyModel :public OEditBaseModel { @@ -70,9 +66,6 @@ protected: void implConstruct(); }; - -//= OCurrencyControl - class OCurrencyControl: public OBoundControl { protected: diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index 162ff6fd95f6..15c19a2d7928 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -128,10 +128,6 @@ extern "C" void SAL_CALL createRegistryInfo_ODatabaseForm() namespace frm { - - -//= DocumentModifyGuard - class DocumentModifyGuard { public: @@ -163,13 +159,7 @@ private: Reference< XModifiable2 > m_xDocumentModify; }; - -//= OFormSubmitResetThread -//=----------------------------------------------------------------- -//= submitting and resetting html-forms asynchronously - - - +// submitting and resetting html-forms asynchronously class OFormSubmitResetThread: public OComponentEventThread { protected: diff --git a/forms/source/component/Date.cxx b/forms/source/component/Date.cxx index 9ede6468514b..609dfb0b47be 100644 --- a/forms/source/component/Date.cxx +++ b/forms/source/component/Date.cxx @@ -74,8 +74,6 @@ StringSequence SAL_CALL ODateControl::getSupportedServiceNames() throw(std::exce return aSupported; } -/*************************************************************************/ - InterfaceRef SAL_CALL ODateModel_CreateInstance(const Reference<XMultiServiceFactory>& _rxFactory) { return *(new ODateModel( comphelper::getComponentContext(_rxFactory) )); diff --git a/forms/source/component/Date.hxx b/forms/source/component/Date.hxx index 153172618170..4ffb43b882ce 100644 --- a/forms/source/component/Date.hxx +++ b/forms/source/component/Date.hxx @@ -27,10 +27,6 @@ namespace frm { - - -//= ODateModel - class ODateModel :public OEditBaseModel ,public OLimitedFormats @@ -100,9 +96,6 @@ private: ::com::sun::star::uno::Any& _rUNOValue ) const; }; - -//= ODateControl - class ODateControl: public OBoundControl { protected: diff --git a/forms/source/component/Edit.cxx b/forms/source/component/Edit.cxx index c5f364317415..052f93e9bfa4 100644 --- a/forms/source/component/Edit.cxx +++ b/forms/source/component/Edit.cxx @@ -271,8 +271,6 @@ void SAL_CALL OEditControl::createPeer( const Reference< XToolkit>& _rxToolkit, OBoundControl::createPeer(_rxToolkit, _rxParent); } -/*************************************************************************/ - InterfaceRef SAL_CALL OEditModel_CreateInstance(const Reference<XMultiServiceFactory>& _rxFactory) { return *(new OEditModel( comphelper::getComponentContext(_rxFactory) )); diff --git a/forms/source/component/Edit.hxx b/forms/source/component/Edit.hxx index f317bc3ebe50..2d667437190a 100644 --- a/forms/source/component/Edit.hxx +++ b/forms/source/component/Edit.hxx @@ -31,9 +31,6 @@ struct ImplSVEvent; namespace frm { - -//= OEditModel - class OEditModel :public OEditBaseModel { diff --git a/forms/source/component/EditBase.hxx b/forms/source/component/EditBase.hxx index 7fdfcfc3b451..c0636e649e61 100644 --- a/forms/source/component/EditBase.hxx +++ b/forms/source/component/EditBase.hxx @@ -49,9 +49,6 @@ namespace frm { - -//= OEditBaseModel - class OEditBaseModel : public OBoundControlModel { sal_Int16 m_nLastReadVersion; diff --git a/forms/source/component/EventThread.hxx b/forms/source/component/EventThread.hxx index a9d98a7184d9..151e309a7fef 100644 --- a/forms/source/component/EventThread.hxx +++ b/forms/source/component/EventThread.hxx @@ -41,9 +41,6 @@ namespace frm { -// *************************************************************************************************** -// *************************************************************************************************** - typedef ::osl::Thread OComponentEventThread_TBASE; class OComponentEventThread :public OComponentEventThread_TBASE diff --git a/forms/source/component/File.hxx b/forms/source/component/File.hxx index af3ae371b378..fa9eea160a05 100644 --- a/forms/source/component/File.hxx +++ b/forms/source/component/File.hxx @@ -26,10 +26,6 @@ namespace frm { - - -// OFileControlModel - class OFileControlModel :public OControlModel ,public ::com::sun::star::form::XReset diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx index 7612a19296e4..8419142b1864 100644 --- a/forms/source/component/Filter.cxx +++ b/forms/source/component/Filter.cxx @@ -90,10 +90,6 @@ namespace frm using namespace ::connectivity; - - // OFilterControl - - OFilterControl::OFilterControl( const Reference< XComponentContext >& _rxORB ) :UnoControl() ,m_aTextListeners( *this ) diff --git a/forms/source/component/FixedText.hxx b/forms/source/component/FixedText.hxx index 073badcc3496..a9481311f51c 100644 --- a/forms/source/component/FixedText.hxx +++ b/forms/source/component/FixedText.hxx @@ -26,9 +26,6 @@ namespace frm { - -// OFixedTextModel - class OFixedTextModel :public OControlModel { diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx index 615688e69961..f5143564c30b 100644 --- a/forms/source/component/FormComponent.cxx +++ b/forms/source/component/FormComponent.cxx @@ -334,7 +334,6 @@ sal_Bool SAL_CALL OControl::isTransparent() throw ( RuntimeException, std::excep return m_xControl.is() ? m_xControl->isTransparent() : sal_True; } -// OBoundControl OBoundControl::OBoundControl( const Reference< XComponentContext >& _rxContext, const OUString& _rAggregateService, const bool _bSetDelegator ) :OControl( _rxContext, _rAggregateService, _bSetDelegator ) diff --git a/forms/source/component/FormattedField.hxx b/forms/source/component/FormattedField.hxx index f2a4b9a74d79..6939b2af9e0d 100644 --- a/forms/source/component/FormattedField.hxx +++ b/forms/source/component/FormattedField.hxx @@ -142,7 +142,6 @@ class OFormattedModel void updateFormatterNullDate(); }; - // OFormattedControl typedef ::cppu::ImplHelper1< ::com::sun::star::awt::XKeyListener> OFormattedControl_BASE; class OFormattedControl : public OBoundControl ,public OFormattedControl_BASE diff --git a/forms/source/component/Grid.hxx b/forms/source/component/Grid.hxx index 244944661f5e..88eba2df78ac 100644 --- a/forms/source/component/Grid.hxx +++ b/forms/source/component/Grid.hxx @@ -35,13 +35,8 @@ namespace frm { - class OGridColumn; - -// ColumnDescription - - struct ColumnDescription : public ElementDescription { public: diff --git a/forms/source/component/GroupBox.hxx b/forms/source/component/GroupBox.hxx index 77c9db318b55..ceac40b435e4 100644 --- a/forms/source/component/GroupBox.hxx +++ b/forms/source/component/GroupBox.hxx @@ -26,9 +26,6 @@ namespace frm { - -// OGroupBoxModel - class OGroupBoxModel :public OControlModel { diff --git a/forms/source/component/GroupManager.cxx b/forms/source/component/GroupManager.cxx index 44d6bb62c6c1..5332b1244498 100644 --- a/forms/source/component/GroupManager.cxx +++ b/forms/source/component/GroupManager.cxx @@ -55,7 +55,6 @@ namespace } } -// class OGroupCompAcc OGroupCompAcc::OGroupCompAcc(const Reference<XPropertySet>& rxElement, const OGroupComp& _rGroupComp ) :m_xComponent( rxElement ) ,m_aGroupComp( _rGroupComp ) @@ -78,7 +77,6 @@ public: } }; -// class OGroupComp OGroupComp::OGroupComp() :m_nPos( -1 ) ,m_nTabIndex( 0 ) @@ -131,7 +129,6 @@ public: } }; -// class OGroup OGroup::OGroup( const OUString& rGroupName ) :m_aGroupName( rGroupName ) ,m_nInsertPos(0) diff --git a/forms/source/component/GroupManager.hxx b/forms/source/component/GroupManager.hxx index 9a2db9710530..ca686d474a16 100644 --- a/forms/source/component/GroupManager.hxx +++ b/forms/source/component/GroupManager.hxx @@ -35,34 +35,28 @@ using namespace comphelper; -/*======================================================================== -Funktionsweise GroupManager: - -Der GroupManager horcht an der starform, ob FormComponents eingefuegt oder entfernt -werden. Zusaetzlich horcht er bei den FormComponents an den Properties -"Name" und "TabIndex". Mit diesen Infos aktualisiert er seine Gruppen. - -Der GroupManager verwaltet eine Gruppe, in der alle Controls nach TabIndex -geordnet sind, und ein Array von Gruppen, in dem jede FormComponent noch -einmal einer Gruppe dem Namen nach zugeordnet wird. -Die einzelnen Gruppen werden ueber eine Map aktiviert, wenn sie mehr als -ein Element besitzen. - -Die Gruppen verwalten intern die FormComponents in zwei Arrays. In dem -GroupCompArray werden die Components nach TabIndex und Einfuegepostion -sortiert. Da auf dieses Array ueber die FormComponent zugegriffen -wird, gibt es noch das GroupCompAccessArray, in dem die FormComponents -nach ihrer Speicheradresse sortiert sind. Jedes Element des -GroupCompAccessArrays ist mit einem Element des GroupCompArrays verpointert. - -========================================================================*/ - - +/* + * Der GroupManager horcht an der starform, ob FormComponents eingefuegt oder entfernt + * werden. Zusaetzlich horcht er bei den FormComponents an den Properties + * "Name" und "TabIndex". Mit diesen Infos aktualisiert er seine Gruppen. + * + * Der GroupManager verwaltet eine Gruppe, in der alle Controls nach TabIndex + * geordnet sind, und ein Array von Gruppen, in dem jede FormComponent noch + * einmal einer Gruppe dem Namen nach zugeordnet wird. + * Die einzelnen Gruppen werden ueber eine Map aktiviert, wenn sie mehr als + * ein Element besitzen. + * + * Die Gruppen verwalten intern die FormComponents in zwei Arrays. In dem + * GroupCompArray werden die Components nach TabIndex und Einfuegepostion + * sortiert. Da auf dieses Array ueber die FormComponent zugegriffen + * wird, gibt es noch das GroupCompAccessArray, in dem die FormComponents + * nach ihrer Speicheradresse sortiert sind. Jedes Element des + * GroupCompAccessArrays ist mit einem Element des GroupCompArrays verpointert. + */ namespace frm { - template <class ELEMENT, class LESS_COMPARE> sal_Int32 insert_sorted(::std::vector<ELEMENT>& _rArray, const ELEMENT& _rNewElement, const LESS_COMPARE& _rCompareOp) { diff --git a/forms/source/component/Hidden.hxx b/forms/source/component/Hidden.hxx index 5dde996e323a..1a343e602391 100644 --- a/forms/source/component/Hidden.hxx +++ b/forms/source/component/Hidden.hxx @@ -26,9 +26,6 @@ namespace frm { - -// OHiddenModel - class OHiddenModel :public OControlModel { diff --git a/forms/source/component/ImageButton.hxx b/forms/source/component/ImageButton.hxx index 02140241e0bf..5a6e776e2cf2 100644 --- a/forms/source/component/ImageButton.hxx +++ b/forms/source/component/ImageButton.hxx @@ -27,10 +27,6 @@ namespace frm { - - -// OImageButtonModel - class OImageButtonModel :public OClickableImageBaseModel { @@ -55,9 +51,6 @@ protected: DECLARE_XCLONEABLE(); }; - -// OImageButtonControl - typedef ::cppu::ImplHelper1< ::com::sun::star::awt::XMouseListener> OImageButtonControl_BASE; class OImageButtonControl : public OClickableImageBaseControl, public OImageButtonControl_BASE diff --git a/forms/source/component/ImageControl.hxx b/forms/source/component/ImageControl.hxx index 2bce9b7e96d9..add837ddfec4 100644 --- a/forms/source/component/ImageControl.hxx +++ b/forms/source/component/ImageControl.hxx @@ -143,9 +143,6 @@ protected: DECL_LINK( OnImageImportDone, ::Graphic* ); }; - -//= OImageControlControl - typedef ::cppu::ImplHelper2 < ::com::sun::star::awt::XMouseListener , ::com::sun::star::util::XModifyBroadcaster > OImageControlControl_Base; diff --git a/forms/source/component/ListBox.hxx b/forms/source/component/ListBox.hxx index 3dd20d376c49..68e22d80be51 100644 --- a/forms/source/component/ListBox.hxx +++ b/forms/source/component/ListBox.hxx @@ -94,9 +94,6 @@ namespace frm { - -//= OListBoxModel - typedef ::std::vector< ::connectivity::ORowSetValue > ValueList; class OListBoxModel :public OBoundControlModel diff --git a/forms/source/component/Numeric.cxx b/forms/source/component/Numeric.cxx index 942e525afc71..eaacea978aef 100644 --- a/forms/source/component/Numeric.cxx +++ b/forms/source/component/Numeric.cxx @@ -38,11 +38,6 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::util; using namespace ::com::sun::star::form::binding; - -// ONumericControl - - - ONumericControl::ONumericControl(const Reference<XComponentContext>& _rxFactory) :OBoundControl(_rxFactory, VCL_CONTROL_NUMERICFIELD) { diff --git a/forms/source/component/Numeric.hxx b/forms/source/component/Numeric.hxx index 7f469b226947..54b7f90442a4 100644 --- a/forms/source/component/Numeric.hxx +++ b/forms/source/component/Numeric.hxx @@ -26,10 +26,6 @@ namespace frm { - - -//= ONumericModel - class ONumericModel :public OEditBaseModel { @@ -67,9 +63,6 @@ protected: DECLARE_XCLONEABLE(); }; - -//= ONumericControl - class ONumericControl: public OBoundControl { protected: diff --git a/forms/source/component/Pattern.cxx b/forms/source/component/Pattern.cxx index ddd4a84c8a5c..8622f058034c 100644 --- a/forms/source/component/Pattern.cxx +++ b/forms/source/component/Pattern.cxx @@ -40,10 +40,6 @@ namespace frm namespace FormComponentType = ::com::sun::star::form::FormComponentType; - -// OPatternControl - - OPatternControl::OPatternControl(const Reference<XComponentContext>& _rxFactory) :OBoundControl(_rxFactory, VCL_CONTROL_PATTERNFIELD) { diff --git a/forms/source/component/Pattern.hxx b/forms/source/component/Pattern.hxx index 93f625579c52..e973f84d477c 100644 --- a/forms/source/component/Pattern.hxx +++ b/forms/source/component/Pattern.hxx @@ -30,10 +30,6 @@ namespace frm { - - -//= OPatternModel - class OPatternModel :public OEditBaseModel { @@ -76,9 +72,6 @@ protected: DECLARE_XCLONEABLE(); }; - -//= OPatternControl - class OPatternControl: public OBoundControl { protected: diff --git a/forms/source/component/RadioButton.hxx b/forms/source/component/RadioButton.hxx index c5d70b618aba..02d6ff2c2c28 100644 --- a/forms/source/component/RadioButton.hxx +++ b/forms/source/component/RadioButton.hxx @@ -26,9 +26,6 @@ namespace frm { - -// ORadioButtonModel - class ORadioButtonModel :public OReferenceValueComponent { public: @@ -80,9 +77,6 @@ private: void setControlSource(); }; - -// ORadioButtonControl - class ORadioButtonControl: public OBoundControl { public: diff --git a/forms/source/component/Time.cxx b/forms/source/component/Time.cxx index 87a98c591deb..0c5a59695f2d 100644 --- a/forms/source/component/Time.cxx +++ b/forms/source/component/Time.cxx @@ -47,11 +47,6 @@ using namespace ::com::sun::star::lang; //= - - -//= OTimeControl - - OTimeControl::OTimeControl(const Reference<XComponentContext>& _rxFactory) :OBoundControl(_rxFactory, VCL_CONTROL_TIMEFIELD) { diff --git a/forms/source/component/Time.hxx b/forms/source/component/Time.hxx index 788daf018043..7adf8dc2d7ff 100644 --- a/forms/source/component/Time.hxx +++ b/forms/source/component/Time.hxx @@ -27,10 +27,6 @@ namespace frm { - - -//= OTimeModel - class OTimeModel :public OEditBaseModel ,public OLimitedFormats @@ -100,9 +96,6 @@ private: ::com::sun::star::uno::Any& _rUNOValue ) const; }; - -//= OTimeControl - class OTimeControl: public OBoundControl { protected: diff --git a/forms/source/component/cachedrowset.cxx b/forms/source/component/cachedrowset.cxx index ea1e684e5891..f8f891129939 100644 --- a/forms/source/component/cachedrowset.cxx +++ b/forms/source/component/cachedrowset.cxx @@ -54,9 +54,6 @@ namespace frm namespace ResultSetType = ::com::sun::star::sdbc::ResultSetType; - - //= CachedRowSet_Data - struct CachedRowSet_Data { OUString sCommand; @@ -74,10 +71,6 @@ namespace frm } }; - - //= CachedRowSet - - CachedRowSet::CachedRowSet() :m_pData( new CachedRowSet_Data ) { diff --git a/forms/source/component/cachedrowset.hxx b/forms/source/component/cachedrowset.hxx index b7da2ba61c7b..ddc17d8ffc31 100644 --- a/forms/source/component/cachedrowset.hxx +++ b/forms/source/component/cachedrowset.hxx @@ -31,11 +31,8 @@ namespace frm { - struct CachedRowSet_Data; - //= CachedRowSet - /** caches a result set obtained from a SQL statement */ class CachedRowSet diff --git a/forms/source/component/clickableimage.hxx b/forms/source/component/clickableimage.hxx index ef967646ad80..cd441d70a9cf 100644 --- a/forms/source/component/clickableimage.hxx +++ b/forms/source/component/clickableimage.hxx @@ -145,9 +145,6 @@ namespace frm void implInitializeImageURL( ); }; - - // ImageModelMethodGuard - class ImageModelMethodGuard : public ::osl::MutexGuard { private: @@ -248,9 +245,6 @@ namespace frm ) SAL_THROW((com::sun::star::util::VetoException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException)); }; - - // OImageProducerThread_Impl - class OImageProducerThread_Impl: public OComponentEventThread { protected: diff --git a/forms/source/component/entrylisthelper.cxx b/forms/source/component/entrylisthelper.cxx index afe5804f82fd..5242982fbf16 100644 --- a/forms/source/component/entrylisthelper.cxx +++ b/forms/source/component/entrylisthelper.cxx @@ -35,10 +35,6 @@ namespace frm using namespace ::com::sun::star::util; using namespace ::com::sun::star::form::binding; - - //= OEntryListHelper - - OEntryListHelper::OEntryListHelper( OControlModel& _rControlModel ) :m_rControlModel( _rControlModel ) ,m_aRefreshListeners( _rControlModel.getInstanceMutex() ) diff --git a/forms/source/component/errorbroadcaster.cxx b/forms/source/component/errorbroadcaster.cxx index 1921a467cc72..2d1bfe4707d7 100644 --- a/forms/source/component/errorbroadcaster.cxx +++ b/forms/source/component/errorbroadcaster.cxx @@ -32,10 +32,6 @@ namespace frm using namespace ::com::sun::star::sdb; using namespace ::dbtools; - - //= OErrorBroadcaster - - OErrorBroadcaster::OErrorBroadcaster( ::cppu::OBroadcastHelper& _rBHelper ) :m_rBHelper( _rBHelper ) ,m_aErrorListeners( _rBHelper.rMutex ) diff --git a/forms/source/component/errorbroadcaster.hxx b/forms/source/component/errorbroadcaster.hxx index 8430d52b02fd..519fb55423af 100644 --- a/forms/source/component/errorbroadcaster.hxx +++ b/forms/source/component/errorbroadcaster.hxx @@ -30,10 +30,6 @@ namespace frm { - - - //= OErrorBroadcaster - typedef ::cppu::ImplHelper1 < ::com::sun::star::sdb::XSQLErrorBroadcaster > OErrorBroadcaster_BASE; diff --git a/forms/source/component/formcontrolfont.cxx b/forms/source/component/formcontrolfont.cxx index 1c8c991fefa1..5f7d3ebe4c1d 100644 --- a/forms/source/component/formcontrolfont.cxx +++ b/forms/source/component/formcontrolfont.cxx @@ -119,10 +119,6 @@ namespace frm } } - - //= FontControlModel - - FontControlModel::FontControlModel( bool _bToolkitCompatibleDefaults ) :m_nFontRelief( css::awt::FontRelief::NONE ) ,m_nFontEmphasis( FontEmphasisMark::NONE ) diff --git a/forms/source/component/navigationbar.cxx b/forms/source/component/navigationbar.cxx index 8cae338ab869..6d34a1f33204 100644 --- a/forms/source/component/navigationbar.cxx +++ b/forms/source/component/navigationbar.cxx @@ -53,10 +53,6 @@ namespace frm registerMayBeVoidProperty( PROPERTY_##prop, PROPERTY_ID_##prop, PropertyAttribute::BOUND | PropertyAttribute::MAYBEDEFAULT | PropertyAttribute::MAYBEVOID, \ &memberAny, ::getCppuType( static_cast< type* >( NULL ) ) ); - - // ONavigationBarModel - - ONavigationBarModel::ONavigationBarModel( const Reference< XComponentContext >& _rxFactory ) :OControlModel( _rxFactory, OUString() ) ,FontControlModel( true ) diff --git a/forms/source/component/navigationbar.hxx b/forms/source/component/navigationbar.hxx index 2696933b4a15..2aceb2262c00 100644 --- a/forms/source/component/navigationbar.hxx +++ b/forms/source/component/navigationbar.hxx @@ -36,10 +36,6 @@ namespace frm { - - - // ONavigationBarModel - typedef ::cppu::ImplHelper1 < ::com::sun::star::awt::XControlModel > ONavigationBarModel_BASE; diff --git a/forms/source/component/propertybaghelper.cxx b/forms/source/component/propertybaghelper.cxx index a81f8589cc01..410d88fde5e3 100644 --- a/forms/source/component/propertybaghelper.cxx +++ b/forms/source/component/propertybaghelper.cxx @@ -70,10 +70,6 @@ namespace frm } } - - //= PropertyBagHelper - - PropertyBagHelper::PropertyBagHelper( IPropertyBagHelperContext& _rContext ) :m_rContext( _rContext ) ,m_pPropertyArrayHelper( NULL ) diff --git a/forms/source/component/refvaluecomponent.hxx b/forms/source/component/refvaluecomponent.hxx index 481f9b67dff9..09c42c92f7aa 100644 --- a/forms/source/component/refvaluecomponent.hxx +++ b/forms/source/component/refvaluecomponent.hxx @@ -27,10 +27,6 @@ namespace frm { - - - //= OReferenceValueComponent - /** a OBoundControlModel which features the exchange of a reference value */ class OReferenceValueComponent : public OBoundControlModel diff --git a/forms/source/component/scrollbar.cxx b/forms/source/component/scrollbar.cxx index 3de7203292ca..5fa5707d06d3 100644 --- a/forms/source/component/scrollbar.cxx +++ b/forms/source/component/scrollbar.cxx @@ -94,11 +94,6 @@ namespace frm return aExternalDoubleValue; } - - //= OScrollBarModel - - - OScrollBarModel::OScrollBarModel( const Reference<XComponentContext>& _rxFactory ) :OBoundControlModel( _rxFactory, VCL_CONTROLMODEL_SCROLLBAR, VCL_CONTROL_SCROLLBAR, true, true, false ) ,m_nDefaultScrollValue( 0 ) diff --git a/forms/source/component/scrollbar.hxx b/forms/source/component/scrollbar.hxx index 3b330f632777..8350f64dfcff 100644 --- a/forms/source/component/scrollbar.hxx +++ b/forms/source/component/scrollbar.hxx @@ -26,10 +26,6 @@ namespace frm { - - - //= OScrollBarModel - class OScrollBarModel :public OBoundControlModel { private: diff --git a/forms/source/component/spinbutton.cxx b/forms/source/component/spinbutton.cxx index a006e9667919..fef41b5cf688 100644 --- a/forms/source/component/spinbutton.cxx +++ b/forms/source/component/spinbutton.cxx @@ -50,11 +50,6 @@ namespace frm const OUString& _rMinValueName, const OUString& _rMaxValueName ); Any translateControlIntToExternalDoubleValue( const Any& _rControlIntValue ); - - //= OSpinButtonModel - - - OSpinButtonModel::OSpinButtonModel( const Reference<XComponentContext>& _rxFactory ) :OBoundControlModel( _rxFactory, VCL_CONTROLMODEL_SPINBUTTON, VCL_CONTROL_SPINBUTTON, true, true, false ) ,m_nDefaultSpinValue( 0 ) diff --git a/forms/source/component/spinbutton.hxx b/forms/source/component/spinbutton.hxx index e7bd87840019..808c89d60755 100644 --- a/forms/source/component/spinbutton.hxx +++ b/forms/source/component/spinbutton.hxx @@ -26,10 +26,6 @@ namespace frm { - - - //= OSpinButtonModel - class OSpinButtonModel :public OBoundControlModel { private: diff --git a/forms/source/helper/commanddescriptionprovider.cxx b/forms/source/helper/commanddescriptionprovider.cxx index 6a6621b8fb5a..54884529e8cc 100644 --- a/forms/source/helper/commanddescriptionprovider.cxx +++ b/forms/source/helper/commanddescriptionprovider.cxx @@ -52,9 +52,6 @@ namespace frm using ::com::sun::star::beans::PropertyValue; using ::com::sun::star::frame::theUICommandDescription; - - //= DefaultCommandDescriptionProvider - class DefaultCommandDescriptionProvider : public ICommandDescriptionProvider { public: diff --git a/forms/source/helper/commandimageprovider.cxx b/forms/source/helper/commandimageprovider.cxx index 735ae277694b..aa8bd1e72e3a 100644 --- a/forms/source/helper/commandimageprovider.cxx +++ b/forms/source/helper/commandimageprovider.cxx @@ -57,9 +57,6 @@ namespace frm namespace ImageType = ::com::sun::star::ui::ImageType; - - //= DocumentCommandImageProvider - class DocumentCommandImageProvider : public ICommandImageProvider { public: diff --git a/forms/source/helper/controlfeatureinterception.cxx b/forms/source/helper/controlfeatureinterception.cxx index a40a41323e6f..709398bf4997 100644 --- a/forms/source/helper/controlfeatureinterception.cxx +++ b/forms/source/helper/controlfeatureinterception.cxx @@ -30,10 +30,6 @@ namespace frm using namespace ::com::sun::star::util; using namespace ::com::sun::star::lang; - - //= ControlFeatureInterception - - ControlFeatureInterception::ControlFeatureInterception( const Reference< XComponentContext >& _rxORB ) :m_pUrlTransformer( new UrlTransformer( _rxORB ) ) { diff --git a/forms/source/helper/formnavigation.cxx b/forms/source/helper/formnavigation.cxx index 4cc99ddc4f6d..dd5f9d9e894f 100644 --- a/forms/source/helper/formnavigation.cxx +++ b/forms/source/helper/formnavigation.cxx @@ -39,10 +39,6 @@ namespace frm using namespace ::com::sun::star::frame; namespace FormFeature = ::com::sun::star::form::runtime::FormFeature; - - //= OFormNavigationHelper - - OFormNavigationHelper::OFormNavigationHelper( const Reference< XComponentContext >& _rxORB ) :m_xORB( _rxORB ) ,m_nConnectedFeatures( 0 ) @@ -372,10 +368,6 @@ namespace frm m_aSupportedFeatures.swap( aEmpty ); } - - //= OFormNavigationMapper - - OFormNavigationMapper::OFormNavigationMapper( const Reference< XComponentContext >& _rxORB ) { m_pUrlTransformer.reset( new UrlTransformer( _rxORB ) ); diff --git a/forms/source/helper/urltransformer.cxx b/forms/source/helper/urltransformer.cxx index 11b8b835f666..149d6fb721e4 100644 --- a/forms/source/helper/urltransformer.cxx +++ b/forms/source/helper/urltransformer.cxx @@ -32,10 +32,6 @@ namespace frm using namespace ::com::sun::star::util; using namespace ::com::sun::star::lang; - - //= UrlTransformer - - UrlTransformer::UrlTransformer( const Reference< XComponentContext >& _rxORB ) :m_xORB( _rxORB ) ,m_bTriedToCreateTransformer( false ) diff --git a/forms/source/helper/windowstateguard.cxx b/forms/source/helper/windowstateguard.cxx index cde58ad99148..e5f4c1c05996 100644 --- a/forms/source/helper/windowstateguard.cxx +++ b/forms/source/helper/windowstateguard.cxx @@ -41,9 +41,6 @@ namespace frm using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::uno::Exception; - - //= WindowStateGuard_Impl - typedef ::cppu::WeakImplHelper1 < XWindowListener2 > WindowStateGuard_Impl_Base; class WindowStateGuard_Impl : public WindowStateGuard_Impl_Base @@ -186,10 +183,6 @@ namespace frm dispose(); } - - //= WindowStateGuard - - WindowStateGuard::WindowStateGuard() { } diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx index 3e11a30dce3a..abd4b024e8bf 100644 --- a/forms/source/inc/FormComponent.hxx +++ b/forms/source/inc/FormComponent.hxx @@ -272,10 +272,7 @@ private: void impl_resetStateGuard_nothrow(); }; - -//= OBoundControl -//= a form control implementing the XBoundControl interface - +// a form control implementing the XBoundControl interface typedef ::cppu::ImplHelper1 < ::com::sun::star::form::XBoundControl > OBoundControl_BASE; class OBoundControl :public OControl diff --git a/forms/source/inc/InterfaceContainer.hxx b/forms/source/inc/InterfaceContainer.hxx index 736840a80797..9dc224d7acb7 100644 --- a/forms/source/inc/InterfaceContainer.hxx +++ b/forms/source/inc/InterfaceContainer.hxx @@ -280,9 +280,6 @@ private: void impl_createEventAttacher_nothrow(); }; - -//= OFormComponents - typedef ::cppu::ImplHelper1< ::com::sun::star::form::XFormComponent> OFormComponents_BASE; typedef ::cppu::OComponentHelper FormComponentsBase; // else MSVC kills itself on some statements diff --git a/forms/source/inc/cloneable.hxx b/forms/source/inc/cloneable.hxx index 4dbff169d7a7..50c3dca17daf 100644 --- a/forms/source/inc/cloneable.hxx +++ b/forms/source/inc/cloneable.hxx @@ -26,10 +26,6 @@ namespace frm { - - - //= OCloneableAggregation - class OCloneableAggregation { protected: diff --git a/forms/source/inc/componenttools.hxx b/forms/source/inc/componenttools.hxx index d158a07a51b3..969a442a3126 100644 --- a/forms/source/inc/componenttools.hxx +++ b/forms/source/inc/componenttools.hxx @@ -44,9 +44,6 @@ namespace frm } }; - - //= TypeBag - /** a helper class which merges sequences of <type scope="com::sun::star::uno">Type</type>s, so that the resulting sequence contains every type at most once */ diff --git a/forms/source/inc/featuredispatcher.hxx b/forms/source/inc/featuredispatcher.hxx index 0902551f2707..f24172de6ba6 100644 --- a/forms/source/inc/featuredispatcher.hxx +++ b/forms/source/inc/featuredispatcher.hxx @@ -26,10 +26,6 @@ namespace frm { - - - //= IFeatureDispatcher - class IFeatureDispatcher { public: diff --git a/forms/source/inc/formcontrolfont.hxx b/forms/source/inc/formcontrolfont.hxx index 43dc40fc31f9..90663514b43a 100644 --- a/forms/source/inc/formcontrolfont.hxx +++ b/forms/source/inc/formcontrolfont.hxx @@ -33,10 +33,6 @@ namespace cppu { namespace frm { - - - //= FontControlModel - class FontControlModel { private: diff --git a/forms/source/inc/formnavigation.hxx b/forms/source/inc/formnavigation.hxx index b5b8fea5c70b..e496812fc6e1 100644 --- a/forms/source/inc/formnavigation.hxx +++ b/forms/source/inc/formnavigation.hxx @@ -176,9 +176,6 @@ namespace frm void initializeSupportedFeatures(); }; - - //= OFormNavigationMapper - /** helper class mapping between feature ids and feature URLs */ class OFormNavigationMapper diff --git a/forms/source/inc/forms_module.hxx b/forms/source/inc/forms_module.hxx index 7b3204a7aa46..4cda7a0554c0 100644 --- a/forms/source/inc/forms_module.hxx +++ b/forms/source/inc/forms_module.hxx @@ -49,9 +49,6 @@ namespace FORMS_MODULE_NAMESPACE rtl_ModuleCount* ); - - //= OFormsModule - class OFormsModule { private: @@ -115,9 +112,6 @@ namespace FORMS_MODULE_NAMESPACE static void ensureImpl(); }; - - //= OMultiInstanceAutoRegistration - template <class TYPE> class OMultiInstanceAutoRegistration { @@ -158,9 +152,6 @@ namespace FORMS_MODULE_NAMESPACE OFormsModule::revokeComponent(TYPE::getImplementationName_Static()); } - - //= OOneInstanceAutoRegistration - template <class TYPE> class OOneInstanceAutoRegistration { diff --git a/forms/source/inc/frm_resource.hxx b/forms/source/inc/frm_resource.hxx index 3dce65394d43..d25e9d68b40e 100644 --- a/forms/source/inc/frm_resource.hxx +++ b/forms/source/inc/frm_resource.hxx @@ -29,14 +29,10 @@ namespace frm #define FRM_RES_STRING(id) ResourceManager::loadString(id) - - //= ResourceManager - //= handling resources within the FormLayer library - + // handling resources within the FormLayer library class ResourceManager { static SimpleResMgr* m_pImpl; - private: // no instantiation allowed ResourceManager() { } diff --git a/forms/source/inc/listenercontainers.hxx b/forms/source/inc/listenercontainers.hxx index 4d87b249d21a..77ca03a9c7b1 100644 --- a/forms/source/inc/listenercontainers.hxx +++ b/forms/source/inc/listenercontainers.hxx @@ -28,10 +28,6 @@ namespace frm { - - - //= EventListeners - template < class LISTENER > class EventListeners : public ::comphelper::OListenerContainerBase< LISTENER, ::com::sun::star::lang::EventObject > { @@ -77,9 +73,6 @@ namespace frm using EventListeners_Base::disposing; }; - - //= ResetListeners - typedef EventListeners < ::com::sun::star::form::XResetListener > ResetListeners_Base; class ResetListeners : public ResetListeners_Base diff --git a/forms/source/inc/property.hxx b/forms/source/inc/property.hxx index ce6c8f0c2880..0bcb840defdf 100644 --- a/forms/source/inc/property.hxx +++ b/forms/source/inc/property.hxx @@ -35,16 +35,11 @@ using namespace comphelper; - //= property helper classes - -//... namespace frm ....................................................... namespace frm { - - //= assigment property handle <-> property name //= used by the PropertySetAggregationHelper diff --git a/forms/source/inc/propertybaghelper.hxx b/forms/source/inc/propertybaghelper.hxx index b811cdb011df..de93166c29ce 100644 --- a/forms/source/inc/propertybaghelper.hxx +++ b/forms/source/inc/propertybaghelper.hxx @@ -52,9 +52,6 @@ namespace frm ~IPropertyBagHelperContext() {} }; - - //= class PropertyBagHelper - class PropertyBagHelper : public ::boost::noncopyable { private: diff --git a/forms/source/inc/resettable.hxx b/forms/source/inc/resettable.hxx index 3331e43ded6f..4dccf4c662a5 100644 --- a/forms/source/inc/resettable.hxx +++ b/forms/source/inc/resettable.hxx @@ -33,10 +33,6 @@ namespace cppu namespace frm { - - - //= ResetHelper - class ResetHelper { public: diff --git a/forms/source/inc/urltransformer.hxx b/forms/source/inc/urltransformer.hxx index 3bc7b5b67661..527f30b1ce77 100644 --- a/forms/source/inc/urltransformer.hxx +++ b/forms/source/inc/urltransformer.hxx @@ -29,10 +29,6 @@ namespace frm { - - - //= UrlTransformer - class UrlTransformer { private: diff --git a/forms/source/misc/InterfaceContainer.cxx b/forms/source/misc/InterfaceContainer.cxx index 636d35db3fae..d9cfd6332948 100644 --- a/forms/source/misc/InterfaceContainer.cxx +++ b/forms/source/misc/InterfaceContainer.cxx @@ -166,9 +166,6 @@ void OInterfaceContainer::impl_addVbEvents_nolck_nothrow( const sal_Int32 i_nIn } -//= ElementDescription - - ElementDescription::ElementDescription( ) { } @@ -178,10 +175,6 @@ ElementDescription::~ElementDescription() { } - -//= OInterfaceContainer - - OInterfaceContainer::OInterfaceContainer( const Reference<XComponentContext>& _rxContext, ::osl::Mutex& _rMutex, diff --git a/forms/source/misc/componenttools.cxx b/forms/source/misc/componenttools.cxx index 1c16e2c2ed23..62e7609f62ea 100644 --- a/forms/source/misc/componenttools.cxx +++ b/forms/source/misc/componenttools.cxx @@ -35,10 +35,6 @@ namespace frm using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::container::XChild; - - //= TypeBag - - TypeBag::TypeBag( const TypeSequence& _rTypes1 ) { addTypes( _rTypes1 ); diff --git a/forms/source/misc/limitedformats.cxx b/forms/source/misc/limitedformats.cxx index 389b94c9366e..f8d57762eeb1 100644 --- a/forms/source/misc/limitedformats.cxx +++ b/forms/source/misc/limitedformats.cxx @@ -127,10 +127,6 @@ namespace frm return NULL; } - - //= OLimitedFormats - - OLimitedFormats::OLimitedFormats(const Reference< XComponentContext >& _rxContext, const sal_Int16 _nClassId) :m_nFormatEnumPropertyHandle(-1) ,m_nTableId(_nClassId) diff --git a/forms/source/misc/property.cxx b/forms/source/misc/property.cxx index e86a7bd94b20..7e47c8cb601b 100644 --- a/forms/source/misc/property.cxx +++ b/forms/source/misc/property.cxx @@ -26,12 +26,9 @@ #include <algorithm> -//... namespace frm ....................................................... namespace frm { - - //= PropertyInfoService PropertyInfoService::PropertyMap PropertyInfoService::s_AllKnownProperties; diff --git a/forms/source/resource/frm_resource.cxx b/forms/source/resource/frm_resource.cxx index 702ed3a35b40..227803af0983 100644 --- a/forms/source/resource/frm_resource.cxx +++ b/forms/source/resource/frm_resource.cxx @@ -17,15 +17,13 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include "frm_resource.hxx" #include <tools/simplerm.hxx> -// ---- needed as long as we have no contexts for components --- +// needed as long as we have no contexts for components #include <vcl/svapp.hxx> #include <vcl/settings.hxx> - #include <svl/solar.hrc> diff --git a/forms/source/richtext/attributedispatcher.cxx b/forms/source/richtext/attributedispatcher.cxx index 4ece5ca27040..e6493b92519d 100644 --- a/forms/source/richtext/attributedispatcher.cxx +++ b/forms/source/richtext/attributedispatcher.cxx @@ -32,10 +32,6 @@ namespace frm using namespace ::com::sun::star::util; using namespace ::com::sun::star::beans; - - //= OAttributeDispatcher - - OAttributeDispatcher::OAttributeDispatcher( EditView& _rView, AttributeId _nAttributeId, const URL& _rURL, IMultiAttributeDispatcher* _pMasterDispatcher ) :ORichTextFeatureDispatcher( _rView, _rURL ) diff --git a/forms/source/richtext/attributedispatcher.hxx b/forms/source/richtext/attributedispatcher.hxx index c212529a97f9..d1010f4f91ed 100644 --- a/forms/source/richtext/attributedispatcher.hxx +++ b/forms/source/richtext/attributedispatcher.hxx @@ -27,10 +27,6 @@ namespace frm { - - - //= OAttributeDispatcher - class OAttributeDispatcher :public ORichTextFeatureDispatcher ,public ITextAttributeListener { diff --git a/forms/source/richtext/clipboarddispatcher.cxx b/forms/source/richtext/clipboarddispatcher.cxx index e6f9d80997e8..05a28cc962b9 100644 --- a/forms/source/richtext/clipboarddispatcher.cxx +++ b/forms/source/richtext/clipboarddispatcher.cxx @@ -57,10 +57,6 @@ namespace frm } } - - //= OClipboardDispatcher - - OClipboardDispatcher::OClipboardDispatcher( EditView& _rView, ClipboardFunc _eFunc ) :ORichTextFeatureDispatcher( _rView, createClipboardURL( _eFunc ) ) ,m_eFunc( _eFunc ) @@ -132,10 +128,6 @@ namespace frm } } - - //= OPasteClipboardDispatcher - - OPasteClipboardDispatcher::OPasteClipboardDispatcher( EditView& _rView ) :OClipboardDispatcher( _rView, ePaste ) ,m_pClipListener( NULL ) diff --git a/forms/source/richtext/clipboarddispatcher.hxx b/forms/source/richtext/clipboarddispatcher.hxx index 76fe0f2ce577..16de754ea20c 100644 --- a/forms/source/richtext/clipboarddispatcher.hxx +++ b/forms/source/richtext/clipboarddispatcher.hxx @@ -29,10 +29,6 @@ class TransferableDataHelper; namespace frm { - - - //= OClipboardDispatcher - class OClipboardDispatcher : public ORichTextFeatureDispatcher { public: @@ -66,9 +62,6 @@ namespace frm virtual bool implIsEnabled( ) const; }; - - //= OPasteClipboardDispatcher - class OPasteClipboardDispatcher : public OClipboardDispatcher { private: diff --git a/forms/source/richtext/featuredispatcher.cxx b/forms/source/richtext/featuredispatcher.cxx index 7c018bc0db2e..2c096bfc478e 100644 --- a/forms/source/richtext/featuredispatcher.cxx +++ b/forms/source/richtext/featuredispatcher.cxx @@ -29,10 +29,6 @@ namespace frm using namespace ::com::sun::star::lang; using namespace ::com::sun::star::util; - - //= ORichTextFeatureDispatcher - - ORichTextFeatureDispatcher::ORichTextFeatureDispatcher( EditView& _rView, const URL& _rURL ) :m_aFeatureURL( _rURL ) ,m_aStatusListeners( m_aMutex ) diff --git a/forms/source/richtext/featuredispatcher.hxx b/forms/source/richtext/featuredispatcher.hxx index 485b8ae8c120..c92cb8d386c8 100644 --- a/forms/source/richtext/featuredispatcher.hxx +++ b/forms/source/richtext/featuredispatcher.hxx @@ -31,10 +31,6 @@ class EditView; namespace frm { - - - //= ORichTextFeatureDispatcher - typedef ::cppu::WeakImplHelper1 < ::com::sun::star::frame::XDispatch > ORichTextFeatureDispatcher_Base; diff --git a/forms/source/richtext/parametrizedattributedispatcher.cxx b/forms/source/richtext/parametrizedattributedispatcher.cxx index ee8951545960..b90da3285617 100644 --- a/forms/source/richtext/parametrizedattributedispatcher.cxx +++ b/forms/source/richtext/parametrizedattributedispatcher.cxx @@ -38,10 +38,6 @@ namespace frm using namespace ::com::sun::star::util; using namespace ::com::sun::star::beans; - - //= OParametrizedAttributeDispatcher - - OParametrizedAttributeDispatcher::OParametrizedAttributeDispatcher( EditView& _rView, AttributeId _nAttributeId, const URL& _rURL, IMultiAttributeDispatcher* _pMasterDispatcher ) :OAttributeDispatcher( _rView, _nAttributeId, _rURL, _pMasterDispatcher ) { diff --git a/forms/source/richtext/parametrizedattributedispatcher.hxx b/forms/source/richtext/parametrizedattributedispatcher.hxx index 7f2827cd0d4b..1724e1b85060 100644 --- a/forms/source/richtext/parametrizedattributedispatcher.hxx +++ b/forms/source/richtext/parametrizedattributedispatcher.hxx @@ -27,10 +27,6 @@ class SfxPoolItem; namespace frm { - - - //= OParametrizedAttributeDispatcher - class OParametrizedAttributeDispatcher :public OAttributeDispatcher { public: diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx index 6a5d98c43507..60ec1f6bf2a2 100644 --- a/forms/source/richtext/richtextcontrol.cxx +++ b/forms/source/richtext/richtextcontrol.cxx @@ -75,10 +75,6 @@ namespace frm } \ return aReturn; - - // ORichTextControl - - ORichTextControl::ORichTextControl() :UnoEditControl() { diff --git a/forms/source/richtext/richtextcontrol.hxx b/forms/source/richtext/richtextcontrol.hxx index e6853916d8db..49da4ca397bc 100644 --- a/forms/source/richtext/richtextcontrol.hxx +++ b/forms/source/richtext/richtextcontrol.hxx @@ -37,12 +37,8 @@ namespace frm { - class ORichTextFeatureDispatcher; - - // ORichTextControl - typedef ::cppu::ImplHelper1 < ::com::sun::star::frame::XDispatchProvider > ORichTextControl_Base; class ORichTextControl :public UnoEditControl @@ -83,9 +79,6 @@ namespace frm virtual bool requiresNewPeer( const OUString& _rPropertyName ) const SAL_OVERRIDE; }; - - // ORichTextPeer - typedef ::cppu::ImplHelper1 < ::com::sun::star::frame::XDispatchProvider > ORichTextPeer_Base; class ORichTextPeer :public VCLXWindow diff --git a/forms/source/richtext/richtextengine.hxx b/forms/source/richtext/richtextengine.hxx index d05dc54a7446..c0ff8bd140b9 100644 --- a/forms/source/richtext/richtextengine.hxx +++ b/forms/source/richtext/richtextengine.hxx @@ -30,10 +30,6 @@ class EditStatus; namespace frm { - - - //= IEngineStatusListener - class IEngineStatusListener { public: @@ -43,9 +39,6 @@ namespace frm ~IEngineStatusListener() {} }; - - //= RichTextEngine - class RichTextEngine : public EditEngine { private: diff --git a/forms/source/richtext/richtextimplcontrol.cxx b/forms/source/richtext/richtextimplcontrol.cxx index f670701a1d58..2bae5a457e66 100644 --- a/forms/source/richtext/richtextimplcontrol.cxx +++ b/forms/source/richtext/richtextimplcontrol.cxx @@ -41,10 +41,6 @@ namespace frm { - - //= RichTextControlImpl - - RichTextControlImpl::RichTextControlImpl( Control* _pAntiImpl, RichTextEngine* _pEngine, ITextAttributeListener* _pTextAttrListener, ITextSelectionListener* _pSelectionListener ) :m_pAntiImpl ( _pAntiImpl ) ,m_pViewport ( NULL ) diff --git a/forms/source/richtext/richtextimplcontrol.hxx b/forms/source/richtext/richtextimplcontrol.hxx index bd2126fcb009..3795a49ac11b 100644 --- a/forms/source/richtext/richtextimplcontrol.hxx +++ b/forms/source/richtext/richtextimplcontrol.hxx @@ -40,8 +40,6 @@ namespace frm class ITextSelectionListener; class RichTextViewPort; - //= RichTextControlImpl - class RichTextControlImpl : public IEngineStatusListener { typedef ::std::map< AttributeId, AttributeState > StateCache; diff --git a/forms/source/richtext/richtextmodel.cxx b/forms/source/richtext/richtextmodel.cxx index c57adee3afb1..3e3f149bf1d2 100644 --- a/forms/source/richtext/richtextmodel.cxx +++ b/forms/source/richtext/richtextmodel.cxx @@ -55,10 +55,6 @@ namespace frm namespace WritingMode2 = ::com::sun::star::text::WritingMode2; - - //= ORichTextModel - - ORichTextModel::ORichTextModel( const Reference< XComponentContext >& _rxFactory ) :OControlModel ( _rxFactory, OUString() ) ,FontControlModel ( true ) diff --git a/forms/source/richtext/richtextunowrapper.cxx b/forms/source/richtext/richtextunowrapper.cxx index cd81e794f026..d6ab326d1d1b 100644 --- a/forms/source/richtext/richtextunowrapper.cxx +++ b/forms/source/richtext/richtextunowrapper.cxx @@ -58,10 +58,6 @@ namespace frm } } - - //= ORichTextUnoWrapper - - ORichTextUnoWrapper::ORichTextUnoWrapper( EditEngine& _rEngine, IEngineTextChangeListener* _pTextChangeListener ) :SvxUnoText( getTextEnginePropertySet() ) { @@ -73,10 +69,6 @@ namespace frm { } - - //= RichTextEditSource - - RichTextEditSource::RichTextEditSource( EditEngine& _rEngine, IEngineTextChangeListener* _pTextChangeListener ) :m_rEngine ( _rEngine ) ,m_pTextForwarder ( new SvxEditEngineForwarder( _rEngine ) ) diff --git a/forms/source/richtext/richtextunowrapper.hxx b/forms/source/richtext/richtextunowrapper.hxx index 95c2c1ea4cbc..73d185c181e3 100644 --- a/forms/source/richtext/richtextunowrapper.hxx +++ b/forms/source/richtext/richtextunowrapper.hxx @@ -27,10 +27,6 @@ namespace frm { - - - //= IEngineTextChangeListener - class IEngineTextChangeListener { public: @@ -40,9 +36,6 @@ namespace frm ~IEngineTextChangeListener() {} }; - - //= ORichTextUnoWrapper - class ORichTextUnoWrapper : public SvxUnoText { public: @@ -58,9 +51,6 @@ namespace frm ORichTextUnoWrapper& operator=( const ORichTextUnoWrapper& ); // never implemented }; - - //= RichTextEditSource - class RichTextEditSource : public SvxEditSource { private: diff --git a/forms/source/richtext/richtextvclcontrol.cxx b/forms/source/richtext/richtextvclcontrol.cxx index 22808dad85c5..5adea77205e9 100644 --- a/forms/source/richtext/richtextvclcontrol.cxx +++ b/forms/source/richtext/richtextvclcontrol.cxx @@ -38,10 +38,8 @@ #include <editeng/editids.hrc> #include <svx/svxids.hrc> - namespace frm { - //= RichTextControl RichTextControl::RichTextControl( RichTextEngine* _pEngine, Window* _pParent, WinBits _nStyle, ITextAttributeListener* _pTextAttribListener, ITextSelectionListener* _pSelectionListener ) diff --git a/forms/source/richtext/richtextvclcontrol.hxx b/forms/source/richtext/richtextvclcontrol.hxx index 139239772b59..2c1ab680a3bf 100644 --- a/forms/source/richtext/richtextvclcontrol.hxx +++ b/forms/source/richtext/richtextvclcontrol.hxx @@ -34,12 +34,9 @@ class SfxItemSet; namespace frm { - class RichTextControlImpl; class RichTextEngine; - //= RichTextControl - class RichTextControl : public Control, public IMultiAttributeDispatcher { private: diff --git a/forms/source/richtext/richtextviewport.cxx b/forms/source/richtext/richtextviewport.cxx index f65460014ff4..18a7d66e3c37 100644 --- a/forms/source/richtext/richtextviewport.cxx +++ b/forms/source/richtext/richtextviewport.cxx @@ -24,11 +24,6 @@ namespace frm { - - - //= RichTextViewPort - - RichTextViewPort::RichTextViewPort( Window* _pParent ) :Control ( _pParent ) ,m_pView(NULL) diff --git a/forms/source/richtext/richtextviewport.hxx b/forms/source/richtext/richtextviewport.hxx index 4d377dbc6dcb..b33a5e798113 100644 --- a/forms/source/richtext/richtextviewport.hxx +++ b/forms/source/richtext/richtextviewport.hxx @@ -26,10 +26,6 @@ class EditView; namespace frm { - - - //= RichTextViewPort - class RichTextViewPort : public Control { private: diff --git a/forms/source/richtext/rtattributehandler.cxx b/forms/source/richtext/rtattributehandler.cxx index 486a5bb3fbef..7a335567eb4b 100644 --- a/forms/source/richtext/rtattributehandler.cxx +++ b/forms/source/richtext/rtattributehandler.cxx @@ -59,10 +59,6 @@ namespace frm { } - - //= AttributeHandler - - AttributeHandler::AttributeHandler( AttributeId _nAttributeId, WhichId _nWhichId ) :m_nAttribute( _nAttributeId ) ,m_nWhich ( _nWhichId ) @@ -199,10 +195,6 @@ namespace frm return pReturn; } - - //= ParaAlignmentHandler - - ParaAlignmentHandler::ParaAlignmentHandler( AttributeId _nAttributeId ) :AttributeHandler( _nAttributeId, EE_PARA_JUST ) ,m_eAdjust( SVX_ADJUST_CENTER ) @@ -235,10 +227,6 @@ namespace frm _rNewAttribs.Put( SvxAdjustItem( m_eAdjust, getWhich() ) ); } - - //= LineSpacingHandler - - LineSpacingHandler::LineSpacingHandler( AttributeId _nAttributeId ) :AttributeHandler( _nAttributeId, EE_PARA_SBL ) ,m_nLineSpace( 100 ) @@ -278,10 +266,6 @@ namespace frm _rNewAttribs.Put( aLineSpacing ); } - - //= EscapementHandler - - EscapementHandler::EscapementHandler( AttributeId _nAttributeId ) :AttributeHandler( _nAttributeId, EE_CHAR_ESCAPEMENT ) ,m_eEscapement( SVX_ESCAPEMENT_OFF ) @@ -315,10 +299,6 @@ namespace frm _rNewAttribs.Put( SvxEscapementItem( bIsChecked ? SVX_ESCAPEMENT_OFF : m_eEscapement, getWhich() ) ); } - - //= SlotHandler - - SlotHandler::SlotHandler( AttributeId _nAttributeId, WhichId _nWhichId ) :AttributeHandler( _nAttributeId, _nWhichId ) ,m_bScriptDependent( false ) @@ -358,10 +338,6 @@ namespace frm OSL_FAIL( "SlotHandler::executeAttribute: need attributes to do something!" ); } - - //= FontSizeHandler - - FontSizeHandler::FontSizeHandler( AttributeId _nAttributeId, WhichId _nWhichId ) :AttributeHandler( _nAttributeId, _nWhichId ) { @@ -429,10 +405,6 @@ namespace frm } } - - //= ParagraphDirectionHandler - - ParagraphDirectionHandler::ParagraphDirectionHandler( AttributeId _nAttributeId ) :AttributeHandler( _nAttributeId, EE_PARA_WRITINGDIR ) ,m_eParagraphDirection( FRMDIR_HORI_LEFT_TOP ) @@ -477,10 +449,6 @@ namespace frm _rNewAttribs.Put( SvxAdjustItem( m_eDefaultAdjustment, EE_PARA_JUST ) ); } - - //= BooleanHandler - - BooleanHandler::BooleanHandler( AttributeId _nAttributeId, WhichId _nWhichId ) :AttributeHandler( _nAttributeId, _nWhichId ) { diff --git a/forms/source/richtext/rtattributehandler.hxx b/forms/source/richtext/rtattributehandler.hxx index 5199c25469c8..9cbc60e33bce 100644 --- a/forms/source/richtext/rtattributehandler.hxx +++ b/forms/source/richtext/rtattributehandler.hxx @@ -32,10 +32,6 @@ class SfxItemPool; namespace frm { - - - //= ReferenceBase - class ReferenceBase : public ::rtl::IReference { protected: @@ -50,9 +46,6 @@ namespace frm virtual ~ReferenceBase(); }; - - //= IAttributeHandler - class IAttributeHandler : public ::rtl::IReference { public: @@ -64,9 +57,6 @@ namespace frm ~IAttributeHandler() {} }; - - //= AttributeHandler - class AttributeHandler :public ReferenceBase ,public IAttributeHandler { @@ -104,9 +94,6 @@ namespace frm virtual ~AttributeHandler(); }; - - //= AttributeHandlerFactory - class AttributeHandlerFactory { public: @@ -119,9 +106,6 @@ namespace frm ~AttributeHandlerFactory(); // never implemented }; - - //= ParaAlignmentHandler - class ParaAlignmentHandler : public AttributeHandler { private: @@ -135,9 +119,6 @@ namespace frm virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const SAL_OVERRIDE; }; - - //= LineSpacingHandler - class LineSpacingHandler : public AttributeHandler { private: @@ -151,9 +132,6 @@ namespace frm virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const SAL_OVERRIDE; }; - - //= EscapementHandler - class EscapementHandler : public AttributeHandler { private: @@ -167,9 +145,6 @@ namespace frm virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const SAL_OVERRIDE; }; - - //= SlotHandler - class SlotHandler : public AttributeHandler { private: @@ -183,9 +158,6 @@ namespace frm virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const SAL_OVERRIDE; }; - - //= BooleanHandler - class BooleanHandler : public AttributeHandler { public: @@ -196,9 +168,6 @@ namespace frm virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const SAL_OVERRIDE; }; - - //= FontSizeHandler - class FontSizeHandler : public AttributeHandler { public: @@ -209,9 +178,6 @@ namespace frm virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const SAL_OVERRIDE; }; - - //= ParagraphDirectionHandler - class ParagraphDirectionHandler : public AttributeHandler { private: diff --git a/forms/source/richtext/specialdispatchers.cxx b/forms/source/richtext/specialdispatchers.cxx index 85f6b8fd81d8..bc288a949371 100644 --- a/forms/source/richtext/specialdispatchers.cxx +++ b/forms/source/richtext/specialdispatchers.cxx @@ -34,10 +34,6 @@ namespace frm using namespace ::com::sun::star::frame; using namespace ::com::sun::star::beans; - - //= OSelectAllDispatcher - - OSelectAllDispatcher::OSelectAllDispatcher( EditView& _rView, const URL& _rURL ) :ORichTextFeatureDispatcher( _rView, _rURL ) { @@ -86,10 +82,6 @@ namespace frm return aEvent; } - - //= OParagraphDirectionDispatcher - - OParagraphDirectionDispatcher::OParagraphDirectionDispatcher( EditView& _rView, AttributeId _nAttributeId, const URL& _rURL, IMultiAttributeDispatcher* _pMasterDispatcher ) :OAttributeDispatcher( _rView, _nAttributeId, _rURL, _pMasterDispatcher ) @@ -109,10 +101,6 @@ namespace frm return aEvent; } - - //= OTextDirectionDispatcher - - OTextDirectionDispatcher::OTextDirectionDispatcher( EditView& _rView, const URL& _rURL ) :ORichTextFeatureDispatcher( _rView, _rURL ) { @@ -149,10 +137,6 @@ namespace frm return aEvent; } - - //= OAsianFontLayoutDispatcher - - OAsianFontLayoutDispatcher::OAsianFontLayoutDispatcher( EditView& _rView, AttributeId _nAttributeId, const URL& _rURL, IMultiAttributeDispatcher* _pMasterDispatcher ) :OParametrizedAttributeDispatcher( _rView, _nAttributeId, _rURL, _pMasterDispatcher ) { diff --git a/forms/source/richtext/specialdispatchers.hxx b/forms/source/richtext/specialdispatchers.hxx index 69bccf64b81f..d3c02cc92abf 100644 --- a/forms/source/richtext/specialdispatchers.hxx +++ b/forms/source/richtext/specialdispatchers.hxx @@ -26,10 +26,6 @@ namespace frm { - - - //= OSelectAllDispatcher - class OSelectAllDispatcher : public ORichTextFeatureDispatcher { public: @@ -47,9 +43,6 @@ namespace frm virtual ::com::sun::star::frame::FeatureStateEvent buildStatusEvent() const SAL_OVERRIDE; }; - - //= OParagraphDirectionDispatcher - class OParagraphDirectionDispatcher : public OAttributeDispatcher { public: @@ -65,9 +58,6 @@ namespace frm virtual ::com::sun::star::frame::FeatureStateEvent buildStatusEvent() const SAL_OVERRIDE; }; - - //= OTextDirectionDispatcher - class OTextDirectionDispatcher : public ORichTextFeatureDispatcher { public: @@ -81,9 +71,6 @@ namespace frm virtual ::com::sun::star::frame::FeatureStateEvent buildStatusEvent() const SAL_OVERRIDE; }; - - //= OAsianFontLayoutDispatcher - class OAsianFontLayoutDispatcher : public OParametrizedAttributeDispatcher { public: diff --git a/forms/source/richtext/textattributelistener.hxx b/forms/source/richtext/textattributelistener.hxx index 339ec893d002..0593c49968ef 100644 --- a/forms/source/richtext/textattributelistener.hxx +++ b/forms/source/richtext/textattributelistener.hxx @@ -26,10 +26,6 @@ struct ESelection; namespace frm { - - - //= ITextAttributeListener - class ITextAttributeListener { public: diff --git a/forms/source/runtime/formoperations.cxx b/forms/source/runtime/formoperations.cxx index 29317268f61d..7efc18dea1e7 100644 --- a/forms/source/runtime/formoperations.cxx +++ b/forms/source/runtime/formoperations.cxx @@ -123,10 +123,6 @@ namespace frm namespace FormFeature = ::com::sun::star::form::runtime::FormFeature; namespace RowChangeAction = ::com::sun::star::sdb::RowChangeAction; - - //= FormOperations - - FormOperations::FormOperations( const Reference< XComponentContext >& _rxContext ) :FormOperations_Base( m_aMutex ) ,m_xContext( _rxContext ) diff --git a/forms/source/solar/component/navbarcontrol.cxx b/forms/source/solar/component/navbarcontrol.cxx index 743dfdcde2e7..12016eb0a2ed 100644 --- a/forms/source/solar/component/navbarcontrol.cxx +++ b/forms/source/solar/component/navbarcontrol.cxx @@ -65,10 +65,6 @@ namespace frm xTypedPeer->method( param1 ); \ } - - // ONavigationBarControl - - ONavigationBarControl::ONavigationBarControl( const Reference< XComponentContext >& _rxORB) :UnoControl(), m_xContext(_rxORB) { diff --git a/forms/source/solar/component/navbarcontrol.hxx b/forms/source/solar/component/navbarcontrol.hxx index 365d81fe9cfb..c0436826dadd 100644 --- a/forms/source/solar/component/navbarcontrol.hxx +++ b/forms/source/solar/component/navbarcontrol.hxx @@ -35,10 +35,6 @@ namespace frm { - - - // ONavigationBarControl - typedef ::cppu::ImplHelper1 < ::com::sun::star::frame::XDispatchProviderInterception > ONavigationBarControl_Base; @@ -84,9 +80,6 @@ namespace frm virtual void SAL_CALL releaseDispatchProviderInterceptor( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >& Interceptor ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; }; - - // ONavigationBarPeer - class ONavigationBarPeer :public VCLXWindow ,public OFormNavigationHelper diff --git a/forms/source/solar/control/navtoolbar.cxx b/forms/source/solar/control/navtoolbar.cxx index 40462ac3600d..f51c81cd58d4 100644 --- a/forms/source/solar/control/navtoolbar.cxx +++ b/forms/source/solar/control/navtoolbar.cxx @@ -95,9 +95,6 @@ namespace frm } } - - //= ImplNavToolBar - class ImplNavToolBar : public ToolBox { protected: @@ -135,10 +132,6 @@ namespace frm } } - - //= NavigationToolBar - - NavigationToolBar::NavigationToolBar( Window* _pParent, WinBits _nStyle, const PCommandImageProvider& _pImageProvider, const PCommandDescriptionProvider& _pDescriptionProvider ) :Window( _pParent, _nStyle ) @@ -651,10 +644,6 @@ namespace frm _pItemWindow->EnableRTL( *static_cast< const sal_Bool* >( _pIsRTLEnabled ) ); } - - //= RecordPositionInput - - RecordPositionInput::RecordPositionInput( Window* _pParent ) :NumericField( _pParent, WB_BORDER | WB_VCENTER ) ,m_pDispatcher( NULL ) diff --git a/forms/source/solar/inc/navtoolbar.hxx b/forms/source/solar/inc/navtoolbar.hxx index 0ab9a544e71f..1c0800759b7a 100644 --- a/forms/source/solar/inc/navtoolbar.hxx +++ b/forms/source/solar/inc/navtoolbar.hxx @@ -36,9 +36,6 @@ namespace frm class ImplNavToolBar; - - //= NavigationToolBar - class NavigationToolBar : public Window { public: @@ -154,9 +151,6 @@ namespace frm void enableItemRTL( sal_uInt16 /*_nItemId*/, Window* _pItemWindow, const void* _pIsRTLEnabled ) const; }; - - //= RecordPositionInput - class RecordPositionInput : public NumericField { private: diff --git a/forms/source/xforms/datatyperepository.cxx b/forms/source/xforms/datatyperepository.cxx index 2e304a264180..02fe3e49a3ed 100644 --- a/forms/source/xforms/datatyperepository.cxx +++ b/forms/source/xforms/datatyperepository.cxx @@ -51,10 +51,6 @@ namespace xforms using ::com::sun::star::xsd::XDataType; using namespace frm; - - //= ODataTypeRepository - - ODataTypeRepository::ODataTypeRepository( ) { diff --git a/forms/source/xforms/datatyperepository.hxx b/forms/source/xforms/datatyperepository.hxx index d91cc0534dd4..6ea9387adaa3 100644 --- a/forms/source/xforms/datatyperepository.hxx +++ b/forms/source/xforms/datatyperepository.hxx @@ -30,11 +30,8 @@ namespace xforms { - class OXSDDataType; - //= ODataTypeRepository - typedef ::cppu::WeakImplHelper1 < ::com::sun::star::xforms::XDataTypeRepository > ODataTypeRepository_Base; class ODataTypeRepository : public ODataTypeRepository_Base diff --git a/forms/source/xforms/datatypes.cxx b/forms/source/xforms/datatypes.cxx index 322ff0187759..4cc14ba72b9f 100644 --- a/forms/source/xforms/datatypes.cxx +++ b/forms/source/xforms/datatypes.cxx @@ -56,10 +56,6 @@ namespace xforms using namespace ::frm; U_NAMESPACE_USE - - //= OXSDDataType - - OXSDDataType::OXSDDataType( const OUString& _rName, sal_Int16 _nTypeClass ) :OXSDDataType_PBase( m_aBHelper ) ,m_bIsBasic( true ) @@ -329,9 +325,6 @@ namespace xforms OXSDDataType_PBase::removeVetoableChangeListener( PropertyName, aListener ); } - - //= OValueLimitedType_Base - OValueLimitedType_Base::OValueLimitedType_Base( const OUString& _rName, sal_Int16 _nTypeClass ) :OXSDDataType( _rName, _nTypeClass ) ,m_fCachedMaxInclusive( 0 ) @@ -497,10 +490,6 @@ namespace xforms return sInfo.makeStringAndClear(); } - - //= OStringType - - OStringType::OStringType( const OUString& _rName, sal_Int16 _nTypeClass ) :OStringType_Base( _rName, _nTypeClass ) { @@ -613,10 +602,6 @@ namespace xforms return sInfo.makeStringAndClear(); } - - //= OBooleanType - - OBooleanType::OBooleanType( const OUString& _rName ) :OBooleanType_Base( _rName, DataTypeClass::BOOLEAN ) { @@ -647,10 +632,6 @@ namespace xforms return ( nReason == 0 ) ? OUString() : getName(); } - - //= ODecimalType - - ODecimalType::ODecimalType( const OUString& _rName, sal_Int16 _nTypeClass ) :ODecimalType_Base( _rName, _nTypeClass ) { @@ -921,10 +902,6 @@ namespace xforms _rDoubleValue = lcl_normalizeDateTime( aValue ); } - - //= OShortIntegerType - - OShortIntegerType::OShortIntegerType( const OUString& _rName, sal_Int16 _nTypeClass ) :OShortIntegerType_Base( _rName, _nTypeClass ) { diff --git a/forms/source/xforms/datatypes.hxx b/forms/source/xforms/datatypes.hxx index 383624d59d0b..4aa9f50c983b 100644 --- a/forms/source/xforms/datatypes.hxx +++ b/forms/source/xforms/datatypes.hxx @@ -169,9 +169,6 @@ namespace xforms registerMayBeVoidProperty( PROPERTY_##prop, PROPERTY_ID_##prop, ::com::sun::star::beans::PropertyAttribute::BOUND | ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, \ &memberAny, ::getCppuType( static_cast< type* >( NULL ) ) ); - - //= OValueLimitedType_Base - class OValueLimitedType_Base : public OXSDDataType { protected: @@ -225,9 +222,6 @@ namespace xforms virtual void normalizeValue( const ::com::sun::star::uno::Any& _rValue, double& _rDoubleValue ) const = 0; }; - - //= OValueLimitedType - template < typename VALUE_TYPE > class OValueLimitedType : public OValueLimitedType_Base { @@ -243,9 +237,6 @@ namespace xforms virtual void registerProperties() SAL_OVERRIDE; }; - - //= ODerivedDataType - /** helper class for implementing interfaces derived from XDataType */ template< typename CONCRETE_DATA_TYPE_IMPL, typename SUPERCLASS = OXSDDataType > @@ -267,9 +258,6 @@ namespace xforms virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper(); }; - - //= OBooleanType - class OBooleanType; typedef ODerivedDataType< OBooleanType > OBooleanType_Base; class OBooleanType : public OBooleanType_Base @@ -285,9 +273,6 @@ namespace xforms virtual OUString _explainInvalid( sal_uInt16 nReason ) SAL_OVERRIDE; }; - - //= OStringType - class OStringType; typedef ODerivedDataType< OStringType > OStringType_Base; class OStringType :public OStringType_Base @@ -312,9 +297,6 @@ namespace xforms virtual void registerProperties() SAL_OVERRIDE; }; - - //= ODecimalType - class ODecimalType; typedef ODerivedDataType< ODecimalType, OValueLimitedType< double > > ODecimalType_Base; class ODecimalType : public ODecimalType_Base @@ -383,9 +365,6 @@ namespace xforms DEFAULT_DECLARE_SUBTYPE( ODateTimeType, ::com::sun::star::util::DateTime ) - - //= OShortIntegerType - class OShortIntegerType; typedef ODerivedDataType< OShortIntegerType, OValueLimitedType< sal_Int16 > > OShortIntegerType_Base; class OShortIntegerType : public OShortIntegerType_Base diff --git a/forms/source/xforms/model_helper.hxx b/forms/source/xforms/model_helper.hxx index e5db21abad38..c6150b457747 100644 --- a/forms/source/xforms/model_helper.hxx +++ b/forms/source/xforms/model_helper.hxx @@ -74,12 +74,6 @@ protected: } }; - - - -// SubmissionCollection - - class SubmissionCollection : public NamedCollection<com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> > { Model* mpModel; @@ -108,11 +102,6 @@ protected: } }; - - -// InstanceCollection - - class InstanceCollection : public Collection<com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> > { public: |