diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 18:16:42 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 08:18:05 +0000 |
commit | a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch) | |
tree | 083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /forms | |
parent | 538f276ae0414ea34ede6090b5f56e8fecd6fc65 (diff) |
Remove excess newlines
A ridiculously fast way of doing this is:
for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \
--exclude-dir=workdir --exclude-dir=instdir '^
{3,}' .)
do
perl -0777 -i -pe 's/^
{3,}/
/gm' $i
done
Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'forms')
52 files changed, 0 insertions, 127 deletions
diff --git a/forms/source/component/ComboBox.cxx b/forms/source/component/ComboBox.cxx index eb636fbf8367..bc95252fd415 100644 --- a/forms/source/component/ComboBox.cxx +++ b/forms/source/component/ComboBox.cxx @@ -118,7 +118,6 @@ Any SAL_CALL OComboBoxModel::queryAggregation(const Type& _rType) throw (Runtime } - OComboBoxModel::OComboBoxModel(const Reference<XComponentContext>& _rxFactory) :OBoundControlModel( _rxFactory, VCL_CONTROLMODEL_COMBOBOX, FRM_SUN_CONTROL_COMBOBOX, true, true, true ) // use the old control name for compatibility reasons diff --git a/forms/source/component/ComboBox.hxx b/forms/source/component/ComboBox.hxx index 1886ec8e39af..57f05f3f3503 100644 --- a/forms/source/component/ComboBox.hxx +++ b/forms/source/component/ComboBox.hxx @@ -63,7 +63,6 @@ class OComboBoxModel ::std::unique_ptr< ::dbtools::FormattedColumnValue > m_pValueFormatter; - protected: virtual css::uno::Sequence< css::uno::Type> _getTypes() override; diff --git a/forms/source/component/Currency.cxx b/forms/source/component/Currency.cxx index ea8871d6ca6a..0b176e3f90df 100644 --- a/forms/source/component/Currency.cxx +++ b/forms/source/component/Currency.cxx @@ -116,7 +116,6 @@ void OCurrencyModel::implConstruct() } - OCurrencyModel::OCurrencyModel(const Reference<XComponentContext>& _rxFactory) :OEditBaseModel( _rxFactory, VCL_CONTROLMODEL_CURRENCYFIELD, FRM_SUN_CONTROL_CURRENCYFIELD, false, true ) // use the old control name for compatibility reasons diff --git a/forms/source/component/DatabaseForm.hxx b/forms/source/component/DatabaseForm.hxx index c15b68d1376b..48ca614e7c0b 100644 --- a/forms/source/component/DatabaseForm.hxx +++ b/forms/source/component/DatabaseForm.hxx @@ -86,7 +86,6 @@ namespace frm { - //= html tools diff --git a/forms/source/component/Edit.cxx b/forms/source/component/Edit.cxx index 2ed97bc19f24..42e9f38ae2f1 100644 --- a/forms/source/component/Edit.cxx +++ b/forms/source/component/Edit.cxx @@ -271,7 +271,6 @@ Sequence<Type> OEditModel::_getTypes() } - OEditModel::OEditModel(const Reference<XComponentContext>& _rxFactory) :OEditBaseModel( _rxFactory, FRM_SUN_COMPONENT_RICHTEXTCONTROL, FRM_SUN_CONTROL_TEXTFIELD, true, true ) ,m_bMaxTextLenModified(false) diff --git a/forms/source/component/File.cxx b/forms/source/component/File.cxx index cfc85461986f..2ecbe38cc03a 100644 --- a/forms/source/component/File.cxx +++ b/forms/source/component/File.cxx @@ -79,7 +79,6 @@ css::uno::Sequence<OUString> OFileControlModel::getSupportedServiceNames() thro } - OFileControlModel::OFileControlModel(const Reference<XComponentContext>& _rxFactory) :OControlModel(_rxFactory, VCL_CONTROLMODEL_FILECONTROL) ,m_aResetListeners(m_aMutex) diff --git a/forms/source/component/Filter.hxx b/forms/source/component/Filter.hxx index b82af0635980..63fd08e05dea 100644 --- a/forms/source/component/Filter.hxx +++ b/forms/source/component/Filter.hxx @@ -44,7 +44,6 @@ namespace frm { - // OFilterControl typedef ::cppu::ImplHelper5 < css::awt::XTextComponent diff --git a/forms/source/component/Grid.hxx b/forms/source/component/Grid.hxx index 2ce689601e24..a755350ec7c6 100644 --- a/forms/source/component/Grid.hxx +++ b/forms/source/component/Grid.hxx @@ -206,7 +206,6 @@ protected: } // namespace frm - #endif // INCLUDED_FORMS_SOURCE_COMPONENT_GRID_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/component/GroupManager.hxx b/forms/source/component/GroupManager.hxx index a9e3d8efe0a6..2ea5ff51ea22 100644 --- a/forms/source/component/GroupManager.hxx +++ b/forms/source/component/GroupManager.hxx @@ -198,7 +198,6 @@ public: }; - } // namespace frm diff --git a/forms/source/component/ImageControl.hxx b/forms/source/component/ImageControl.hxx index 791db89dae3f..6c3b4326f1a1 100644 --- a/forms/source/component/ImageControl.hxx +++ b/forms/source/component/ImageControl.hxx @@ -36,7 +36,6 @@ namespace frm { - // OImageControlModel typedef ::cppu::ImplHelper2 < css::form::XImageProducerSupplier diff --git a/forms/source/component/Numeric.cxx b/forms/source/component/Numeric.cxx index 66e5ba281ca3..3ab288f4b610 100644 --- a/forms/source/component/Numeric.cxx +++ b/forms/source/component/Numeric.cxx @@ -68,7 +68,6 @@ Sequence<Type> ONumericModel::_getTypes() } - ONumericModel::ONumericModel(const Reference<XComponentContext>& _rxFactory) :OEditBaseModel( _rxFactory, VCL_CONTROLMODEL_NUMERICFIELD, FRM_SUN_CONTROL_NUMERICFIELD, true, true ) // use the old control name for compytibility reasons diff --git a/forms/source/component/Pattern.cxx b/forms/source/component/Pattern.cxx index 1fbb7d0dbe4f..9f01b4217343 100644 --- a/forms/source/component/Pattern.cxx +++ b/forms/source/component/Pattern.cxx @@ -71,7 +71,6 @@ Sequence<Type> OPatternModel::_getTypes() } - OPatternModel::OPatternModel(const Reference<XComponentContext>& _rxFactory) :OEditBaseModel( _rxFactory, VCL_CONTROLMODEL_PATTERNFIELD, FRM_SUN_CONTROL_PATTERNFIELD, false, false ) // use the old control name for compytibility reasons @@ -111,7 +110,6 @@ css::uno::Sequence<OUString> SAL_CALL OPatternModel::getSupportedServiceNames() } - void OPatternModel::describeFixedProperties( Sequence< Property >& _rProps ) const { BEGIN_DESCRIBE_PROPERTIES( 4, OEditBaseModel ) diff --git a/forms/source/component/RadioButton.cxx b/forms/source/component/RadioButton.cxx index 6dbdd939842f..182dd898e024 100644 --- a/forms/source/component/RadioButton.cxx +++ b/forms/source/component/RadioButton.cxx @@ -55,7 +55,6 @@ css::uno::Sequence<OUString> SAL_CALL ORadioButtonControl::getSupportedServiceNa } - ORadioButtonControl::ORadioButtonControl(const Reference<XComponentContext>& _rxFactory) :OBoundControl(_rxFactory, VCL_CONTROL_RADIOBUTTON) { diff --git a/forms/source/component/Time.cxx b/forms/source/component/Time.cxx index f0a2d7b112db..d4123042fb00 100644 --- a/forms/source/component/Time.cxx +++ b/forms/source/component/Time.cxx @@ -103,7 +103,6 @@ Sequence<Type> OTimeModel::_getTypes() } - OTimeModel::OTimeModel(const Reference<XComponentContext>& _rxFactory) : OEditBaseModel(_rxFactory, VCL_CONTROLMODEL_TIMEFIELD, FRM_SUN_CONTROL_TIMEFIELD, true, true) diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx index cfbfa5011eeb..ea71a9f08412 100644 --- a/forms/source/component/clickableimage.cxx +++ b/forms/source/component/clickableimage.cxx @@ -346,7 +346,6 @@ namespace frm } - void SAL_CALL OClickableImageBaseControl::addSubmissionVetoListener( const Reference< submission::XSubmissionVetoListener >& listener ) throw (NoSupportException, RuntimeException, std::exception) { m_aSubmissionVetoListeners.addInterface( listener ); @@ -449,7 +448,6 @@ namespace frm } - OClickableImageBaseModel::OClickableImageBaseModel( const Reference< XComponentContext >& _rxFactory, const OUString& _rUnoControlModelTypeName, const OUString& rDefault ) :OControlModel( _rxFactory, _rUnoControlModelTypeName, rDefault ) diff --git a/forms/source/component/entrylisthelper.cxx b/forms/source/component/entrylisthelper.cxx index 789dc0f5f095..b8acb0793ead 100644 --- a/forms/source/component/entrylisthelper.cxx +++ b/forms/source/component/entrylisthelper.cxx @@ -75,7 +75,6 @@ namespace frm } - void SAL_CALL OEntryListHelper::entryChanged( const ListEntryEvent& _rEvent ) throw (RuntimeException, std::exception) { ControlModelLock aLock( m_rControlModel ); diff --git a/forms/source/component/entrylisthelper.hxx b/forms/source/component/entrylisthelper.hxx index 80889887a07a..c261e4e6cd0e 100644 --- a/forms/source/component/entrylisthelper.hxx +++ b/forms/source/component/entrylisthelper.hxx @@ -180,7 +180,6 @@ namespace frm } // namespace frm - #endif // INCLUDED_FORMS_SOURCE_COMPONENT_ENTRYLISTHELPER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/helper/commanddescriptionprovider.cxx b/forms/source/helper/commanddescriptionprovider.cxx index ba3a6333a040..0af5c919ee86 100644 --- a/forms/source/helper/commanddescriptionprovider.cxx +++ b/forms/source/helper/commanddescriptionprovider.cxx @@ -75,7 +75,6 @@ namespace frm }; - void DefaultCommandDescriptionProvider::impl_init_nothrow( const Reference<XComponentContext>& _rxContext, const Reference< XModel >& _rxDocument ) { OSL_ENSURE( _rxDocument.is(), "DefaultCommandDescriptionProvider::impl_init_nothrow: no document => no command descriptions!" ); diff --git a/forms/source/inc/InterfaceContainer.hxx b/forms/source/inc/InterfaceContainer.hxx index a5f319ebe5f7..9da889254e3e 100644 --- a/forms/source/inc/InterfaceContainer.hxx +++ b/forms/source/inc/InterfaceContainer.hxx @@ -57,8 +57,6 @@ namespace frm { - - struct ElementDescription { public: diff --git a/forms/source/inc/commanddescriptionprovider.hxx b/forms/source/inc/commanddescriptionprovider.hxx index a43a41f80419..cff411e3dcc0 100644 --- a/forms/source/inc/commanddescriptionprovider.hxx +++ b/forms/source/inc/commanddescriptionprovider.hxx @@ -30,7 +30,6 @@ namespace frm { - //= ICommandDescriptionProvider class SAL_NO_VTABLE ICommandDescriptionProvider diff --git a/forms/source/inc/commandimageprovider.hxx b/forms/source/inc/commandimageprovider.hxx index 7b6f01bf8d80..560be1dc5c74 100644 --- a/forms/source/inc/commandimageprovider.hxx +++ b/forms/source/inc/commandimageprovider.hxx @@ -32,7 +32,6 @@ namespace frm { - //= ICommandImageProvider typedef ::std::vector< Image > CommandImages; diff --git a/forms/source/inc/formnavigation.hxx b/forms/source/inc/formnavigation.hxx index f79b0bfb6f99..cae6afd7a66e 100644 --- a/forms/source/inc/formnavigation.hxx +++ b/forms/source/inc/formnavigation.hxx @@ -32,7 +32,6 @@ #include <memory> - namespace frm { diff --git a/forms/source/inc/frm_strings.hxx b/forms/source/inc/frm_strings.hxx index 87f87c87e1f5..7415ebee90ea 100644 --- a/forms/source/inc/frm_strings.hxx +++ b/forms/source/inc/frm_strings.hxx @@ -29,7 +29,6 @@ namespace frm { - //- properties #define PROPERTY_TABINDEX "TabIndex" @@ -298,7 +297,6 @@ namespace frm } // namespace frm - #endif // INCLUDED_FORMS_SOURCE_INC_FRM_STRINGS_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/inc/limitedformats.hxx b/forms/source/inc/limitedformats.hxx index 1d8cc6ba37ee..e1c922a15293 100644 --- a/forms/source/inc/limitedformats.hxx +++ b/forms/source/inc/limitedformats.hxx @@ -30,7 +30,6 @@ namespace frm { - //= OLimitedFormats /** maintains translation tables format key <-> enum value diff --git a/forms/source/inc/property.hxx b/forms/source/inc/property.hxx index a6dd9d05a344..220aa325572d 100644 --- a/forms/source/inc/property.hxx +++ b/forms/source/inc/property.hxx @@ -132,7 +132,6 @@ public: _rAggregateProps = aggregate->getPropertySetInfo()->getProperties(); \ - #define DECL_PROP0(varname, type) \ DECL_PROP_IMPL(varname, type) 0) @@ -180,12 +179,10 @@ public: DECL_BOOL_PROP_IMPL(varname) css::beans::PropertyAttribute::attrib1 | css::beans::PropertyAttribute::attrib2 | css::beans::PropertyAttribute::attrib3 ) - #define END_DESCRIBE_PROPERTIES() \ DBG_ASSERT( pProperties == _rProps.getArray() + _rProps.getLength(), "<...>::describeFixedProperties/getInfoHelper: forgot to adjust the count ?"); \ - #define REGISTER_PROP_2( prop, member, attrib1, attrib2 ) \ registerProperty( PROPERTY_##prop, PROPERTY_ID_##prop, PropertyAttribute::attrib1 | PropertyAttribute::attrib2, \ &member, cppu::UnoType<decltype(member)>::get() ); diff --git a/forms/source/inc/propertybaghelper.hxx b/forms/source/inc/propertybaghelper.hxx index 9fe7c6b4aec4..a309085241c2 100644 --- a/forms/source/inc/propertybaghelper.hxx +++ b/forms/source/inc/propertybaghelper.hxx @@ -32,7 +32,6 @@ namespace frm { - //= class IPropertyBagHelperContext class SAL_NO_VTABLE IPropertyBagHelperContext diff --git a/forms/source/inc/windowstateguard.hxx b/forms/source/inc/windowstateguard.hxx index 828a5ae6a51f..6d1f94554093 100644 --- a/forms/source/inc/windowstateguard.hxx +++ b/forms/source/inc/windowstateguard.hxx @@ -29,7 +29,6 @@ namespace frm { - //= WindowStateGuard class WindowStateGuard_Impl; diff --git a/forms/source/richtext/richtextvclcontrol.cxx b/forms/source/richtext/richtextvclcontrol.cxx index 35293e59319b..c502ccc9e19d 100644 --- a/forms/source/richtext/richtextvclcontrol.cxx +++ b/forms/source/richtext/richtextvclcontrol.cxx @@ -365,5 +365,4 @@ namespace frm } // namespace frm - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/runtime/formoperations.hxx b/forms/source/runtime/formoperations.hxx index e01bc881817a..afde4af11da7 100644 --- a/forms/source/runtime/formoperations.hxx +++ b/forms/source/runtime/formoperations.hxx @@ -41,7 +41,6 @@ namespace frm { - //= FormOperations typedef ::cppu::WeakComponentImplHelper < css::form::runtime::XFormOperations diff --git a/forms/source/solar/control/navtoolbar.cxx b/forms/source/solar/control/navtoolbar.cxx index 6f0226c93c80..8b767e439362 100644 --- a/forms/source/solar/control/navtoolbar.cxx +++ b/forms/source/solar/control/navtoolbar.cxx @@ -45,7 +45,6 @@ namespace frm namespace FormFeature = ::com::sun::star::form::runtime::FormFeature; - namespace { static bool isArtificialItem( sal_Int16 _nFeatureId ) @@ -707,7 +706,6 @@ namespace frm } - } // namespace frm diff --git a/forms/source/xforms/NameContainer.hxx b/forms/source/xforms/NameContainer.hxx index f8879b02c3c0..f30942a26df8 100644 --- a/forms/source/xforms/NameContainer.hxx +++ b/forms/source/xforms/NameContainer.hxx @@ -104,7 +104,6 @@ public: } - // methods for XNameAccess (inherits XElementAccess) @@ -135,7 +134,6 @@ public: } - // methods for XNameReplace (inherits XNameAccess) @@ -158,7 +156,6 @@ public: } - // methods for XNameContainer (inherits XNameReplace) diff --git a/forms/source/xforms/binding.cxx b/forms/source/xforms/binding.cxx index 9c7f4484674f..b4736d705b55 100644 --- a/forms/source/xforms/binding.cxx +++ b/forms/source/xforms/binding.cxx @@ -99,8 +99,6 @@ using com::sun::star::xml::dom::events::XEventTarget; using com::sun::star::xsd::XDataType; - - #define EXCEPT(msg) OUString(msg),static_cast<XValueBinding*>(this) #define HANDLE_BindingID 0 @@ -295,7 +293,6 @@ OUString Binding::explainInvalid() } - EvaluationContext Binding::getEvaluationContext() const { OSL_ENSURE( getModelImpl() != nullptr, "need model impl" ); @@ -329,9 +326,6 @@ Binding* SAL_CALL Binding::getBinding( const Reference<XPropertySet>& xPropertyS } - - - void Binding::setBindingID( const OUString& sBindingID ) { msBindingID = sBindingID; @@ -1009,9 +1003,6 @@ void Binding::_checkBindingID() } - - - // XValueBinding @@ -1080,7 +1071,6 @@ void Binding::setValue( const css::uno::Any& aValue ) } - // XListEntry Source @@ -1175,7 +1165,6 @@ void Binding::removeListEntryListener( const css::uno::Reference<css::form::bind } - // XValidator @@ -1224,8 +1213,6 @@ void Binding::removeValidityConstraintListener( } - - // xml::dom::event::XEventListener @@ -1258,7 +1245,6 @@ void Binding::handleEvent( const css::uno::Reference<css::xml::dom::events::XEve } - // lang::XUnoTunnel @@ -1353,8 +1339,6 @@ void Binding::removeModifyListener( } - - OUString Binding::getName() throw( RuntimeException, std::exception ) { diff --git a/forms/source/xforms/binding.hxx b/forms/source/xforms/binding.hxx index 0d79f9458632..a413e39eda63 100644 --- a/forms/source/xforms/binding.hxx +++ b/forms/source/xforms/binding.hxx @@ -59,7 +59,6 @@ namespace com { namespace sun { namespace star { } } } - namespace xforms { @@ -93,7 +92,6 @@ public: typedef std::vector<css::uno::Reference<css::form::binding::XListEntryListener> > XListEntryListeners_t; - private: /// the Model to which this Binding belongs; may be NULL @@ -223,8 +221,6 @@ public: // - p3ptype (static; no default) - - /// get this binding's context node xforms::EvaluationContext getEvaluationContext() const; @@ -344,8 +340,6 @@ public: css::uno::RuntimeException, std::exception ) override; - - // XListEntry Source @@ -368,8 +362,6 @@ public: css::uno::RuntimeException, std::exception ) override; - - // XValidator: @@ -392,7 +384,6 @@ public: css::uno::RuntimeException, std::exception ) override; - // XModifyBroadcaster & friends: // inform listeners about changes in our values @@ -408,9 +399,6 @@ public: throw( css::uno::RuntimeException, std::exception ) override; - - - // XNamed: // get/set name @@ -424,8 +412,6 @@ public: throw( css::uno::RuntimeException, std::exception ) override; - - // xml::dom::event::XEventListener // receive an event if our node changed @@ -435,8 +421,6 @@ public: throw( css::uno::RuntimeException, std::exception ) override; - - // XUnoTunnel @@ -444,7 +428,6 @@ public: throw( css::uno::RuntimeException, std::exception ) override; - // XCloneable diff --git a/forms/source/xforms/computedexpression.cxx b/forms/source/xforms/computedexpression.cxx index 34329860358d..d67c8ba41c8a 100644 --- a/forms/source/xforms/computedexpression.cxx +++ b/forms/source/xforms/computedexpression.cxx @@ -72,7 +72,6 @@ ComputedExpression::~ComputedExpression() } - void ComputedExpression::setExpression( const OUString& rExpression ) { // set new expression, and clear pre-computed results @@ -166,8 +165,6 @@ bool ComputedExpression::getBool( bool bDefault ) const } - - Reference<XXPathAPI> ComputedExpression::_getXPathAPI(const xforms::EvaluationContext& aContext) { // create XPath API, then register namespaces diff --git a/forms/source/xforms/computedexpression.hxx b/forms/source/xforms/computedexpression.hxx index 46a9eecf330d..1aa4ffc96111 100644 --- a/forms/source/xforms/computedexpression.hxx +++ b/forms/source/xforms/computedexpression.hxx @@ -38,7 +38,6 @@ namespace com { namespace sun { namespace star namespace xforms { class EvaluationContext; } - namespace xforms { diff --git a/forms/source/xforms/datatyperepository.cxx b/forms/source/xforms/datatyperepository.cxx index ea35900c636e..fe2c371c1edc 100644 --- a/forms/source/xforms/datatyperepository.cxx +++ b/forms/source/xforms/datatyperepository.cxx @@ -161,7 +161,6 @@ namespace xforms } - Reference< XEnumeration > SAL_CALL ODataTypeRepository::createEnumeration( ) throw (RuntimeException, std::exception) { return new ::comphelper::OEnumerationByName( this ); diff --git a/forms/source/xforms/datatypes.cxx b/forms/source/xforms/datatypes.cxx index 48e5a813031c..016243a293a3 100644 --- a/forms/source/xforms/datatypes.cxx +++ b/forms/source/xforms/datatypes.cxx @@ -153,7 +153,6 @@ namespace xforms } - sal_Int16 SAL_CALL OXSDDataType::getTypeClass() throw (RuntimeException, std::exception) { return m_nTypeClass; @@ -656,7 +655,6 @@ namespace xforms } - // validate decimals and return code for which facets failed // to be used by: ODecimalType::validate and ODecimalType::explainInvalid sal_uInt16 ODecimalType::_validate( const OUString& rValue ) @@ -749,7 +747,6 @@ namespace xforms } \ - //= ODateType @@ -942,7 +939,6 @@ namespace xforms } - #define DATATYPES_INCLUDED_BY_MASTER_HEADER #include "datatypes_impl.hxx" #undef DATATYPES_INCLUDED_BY_MASTER_HEADER diff --git a/forms/source/xforms/datatypes.hxx b/forms/source/xforms/datatypes.hxx index 1f5e593953bb..a319c56975ac 100644 --- a/forms/source/xforms/datatypes.hxx +++ b/forms/source/xforms/datatypes.hxx @@ -41,7 +41,6 @@ namespace xforms { - //= OXSDDataType typedef ::cppu::WeakImplHelper < css::xsd::XDataType diff --git a/forms/source/xforms/datatypes_impl.hxx b/forms/source/xforms/datatypes_impl.hxx index 6a22925e4922..cfc44dfb9414 100644 --- a/forms/source/xforms/datatypes_impl.hxx +++ b/forms/source/xforms/datatypes_impl.hxx @@ -59,7 +59,6 @@ template< typename CONCRETE_DATA_TYPE_IMPL, typename SUPERCLASS > } - template< typename VALUE_TYPE > OValueLimitedType< VALUE_TYPE >::OValueLimitedType( const OUString& _rName, sal_Int16 _nTypeClass ) :OValueLimitedType_Base( _rName, _nTypeClass ) diff --git a/forms/source/xforms/mip.cxx b/forms/source/xforms/mip.cxx index f37b99156a93..ddeb96864890 100644 --- a/forms/source/xforms/mip.cxx +++ b/forms/source/xforms/mip.cxx @@ -100,8 +100,6 @@ void MIP::setTypeName( const OUString& s ) { msTypeName = s; mbHasTypeName = tru void MIP::resetTypeName() { msTypeName.clear(); mbHasTypeName = false; } - - } // namespace xforms /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx index b7fe53b77b33..1a0e50bc81b3 100644 --- a/forms/source/xforms/model.cxx +++ b/forms/source/xforms/model.cxx @@ -82,8 +82,6 @@ using namespace xforms; #endif - - // The Model @@ -97,7 +95,6 @@ void Model::ensureAtLeastOneInstance() } - /** Model default constructor; create empty model */ Model::Model() : msID(), @@ -215,7 +212,6 @@ void Model::dbg_assertInvariant() const #endif - // MIP management void Model::addMIP( void* pTag, const XNode_t& xNode, const MIP& rMIP ) { @@ -270,7 +266,6 @@ MIP Model::queryMIP( const XNode_t& xNode ) const } - void Model::rebind() { OSL_ENSURE( mpBindings != nullptr, "bindings?" ); @@ -286,7 +281,6 @@ void Model::rebind() } - void Model::deferNotifications( bool bDefer ) { // iterate over all bindings and defer notifications @@ -424,8 +418,6 @@ bool Model::isValid() const } - - // implement xforms::XModel @@ -554,8 +546,6 @@ css::uno::Reference<css::xml::dom::XDocument> SAL_CALL Model::getDefaultInstance } - - // bindings management @@ -590,8 +580,6 @@ css::uno::Reference<css::container::XSet> Model::getBindings() } - - // submission management diff --git a/forms/source/xforms/model.hxx b/forms/source/xforms/model.hxx index e7e732a2d437..222bb678d385 100644 --- a/forms/source/xforms/model.hxx +++ b/forms/source/xforms/model.hxx @@ -150,7 +150,6 @@ public: #endif - // MIP (model item property) management @@ -185,13 +184,10 @@ public: bool isValid() const; - - // XModel // implement the xforms::XModel implementation - virtual OUString SAL_CALL getID() throw( css::uno::RuntimeException, std::exception ) override; @@ -235,7 +231,6 @@ public: throw( css::uno::RuntimeException, std::exception ) override; - // XModel: binding management virtual XPropertySet_t SAL_CALL createBinding() @@ -400,7 +395,6 @@ public: throw( css::uno::RuntimeException, std::exception ) override; - // XUpdatable diff --git a/forms/source/xforms/model_helper.hxx b/forms/source/xforms/model_helper.hxx index 3f2752c314ed..c331861efd8d 100644 --- a/forms/source/xforms/model_helper.hxx +++ b/forms/source/xforms/model_helper.hxx @@ -119,7 +119,6 @@ public: }; - // helper functions diff --git a/forms/source/xforms/model_ui.cxx b/forms/source/xforms/model_ui.cxx index cd68e8fcc384..c83d9855416b 100644 --- a/forms/source/xforms/model_ui.cxx +++ b/forms/source/xforms/model_ui.cxx @@ -68,8 +68,6 @@ using namespace com::sun::star::xml::dom; using namespace com::sun::star::xml::xpath; - - // implement XFormsUIHelper1 @@ -259,7 +257,6 @@ OUString Model::getDefaultBindingExpressionForNode( } - OUString Model::getDefaultBindingExpressionForNode( const XNode_t& xNode ) throw( RuntimeException, std::exception ) { @@ -956,7 +953,6 @@ void Model::setNodeValue( } - // helper functions from model_helper.hxx diff --git a/forms/source/xforms/pathexpression.cxx b/forms/source/xforms/pathexpression.cxx index b2049ee044c4..1433baabfabf 100644 --- a/forms/source/xforms/pathexpression.cxx +++ b/forms/source/xforms/pathexpression.cxx @@ -55,8 +55,6 @@ using com::sun::star::xml::xpath::XPathObjectType_XPATH_UNDEFINED; using namespace std; - - namespace xforms { @@ -71,7 +69,6 @@ PathExpression::~PathExpression() } - void PathExpression::setExpression( const OUString& rExpression ) { // set new expression, and clear pre-computed results diff --git a/forms/source/xforms/pathexpression.hxx b/forms/source/xforms/pathexpression.hxx index 3721ca7845ed..220800e86228 100644 --- a/forms/source/xforms/pathexpression.hxx +++ b/forms/source/xforms/pathexpression.hxx @@ -35,7 +35,6 @@ namespace com { namespace sun { namespace star } } } - namespace xforms { diff --git a/forms/source/xforms/submission.cxx b/forms/source/xforms/submission.cxx index 8288c955e350..923085ae1803 100644 --- a/forms/source/xforms/submission.cxx +++ b/forms/source/xforms/submission.cxx @@ -288,10 +288,6 @@ Submission* Submission::getSubmission( } - - - - void Submission::liveCheck() throw( RuntimeException ) { @@ -310,7 +306,6 @@ Model* Submission::getModelImpl() const } - // Property-Set implementation @@ -400,7 +395,6 @@ void SAL_CALL Submission::setName( const OUString& sID ) } - sal_Int64 SAL_CALL Submission::getSomething( const Sequence<sal_Int8>& aId ) throw( RuntimeException, std::exception ) diff --git a/forms/source/xforms/submission.hxx b/forms/source/xforms/submission.hxx index 8556f9b0b783..51158aa92691 100644 --- a/forms/source/xforms/submission.hxx +++ b/forms/source/xforms/submission.hxx @@ -203,8 +203,6 @@ public: throw( css::uno::RuntimeException, std::exception ) override; - - // XUnoTunnel @@ -213,7 +211,6 @@ public: throw( css::uno::RuntimeException, std::exception ) override; - // XSubmission diff --git a/forms/source/xforms/submission/submission_get.cxx b/forms/source/xforms/submission/submission_get.cxx index be8424cef9a6..da266d39e2cc 100644 --- a/forms/source/xforms/submission/submission_get.cxx +++ b/forms/source/xforms/submission/submission_get.cxx @@ -41,7 +41,6 @@ using namespace ucbhelper; using namespace std; - CSubmissionGet::CSubmissionGet(const OUString& aURL, const css::uno::Reference< css::xml::dom::XDocumentFragment >& aFragment) : CSubmission(aURL, aFragment) { diff --git a/forms/source/xforms/submission/submission_post.cxx b/forms/source/xforms/submission/submission_post.cxx index 60cce0dd64f4..0580cf5eba5f 100644 --- a/forms/source/xforms/submission/submission_post.cxx +++ b/forms/source/xforms/submission/submission_post.cxx @@ -38,7 +38,6 @@ using namespace ucbhelper; using namespace std; - CSubmissionPost::CSubmissionPost(const OUString& aURL, const css::uno::Reference< css::xml::dom::XDocumentFragment >& aFragment) : CSubmission(aURL, aFragment) { diff --git a/forms/source/xforms/xmlhelper.cxx b/forms/source/xforms/xmlhelper.cxx index f9b58f0477e0..e23cf10fa841 100644 --- a/forms/source/xforms/xmlhelper.cxx +++ b/forms/source/xforms/xmlhelper.cxx @@ -33,7 +33,6 @@ using com::sun::star::xml::dom::DocumentBuilder; using com::sun::star::xml::dom::XDocumentBuilder; - // determine valid XML name diff --git a/forms/source/xforms/xpathlib/extension.hxx b/forms/source/xforms/xpathlib/extension.hxx index b1b4f64f1940..a25f60837256 100644 --- a/forms/source/xforms/xpathlib/extension.hxx +++ b/forms/source/xforms/xpathlib/extension.hxx @@ -36,8 +36,6 @@ #include <com/sun/star/xml/dom/XNode.hpp> - - class CLibxml2XFormsExtension : public cppu::WeakImplHelper< css::xml::xpath::XXPathExtension, css::lang::XInitialization> { |