summaryrefslogtreecommitdiff
path: root/forms/source/xforms
diff options
context:
space:
mode:
authorChris Laplante <mostthingsweb@gmail.com>2014-05-24 17:17:30 -0400
committerCaolán McNamara <caolanm@redhat.com>2014-05-25 14:35:17 -0500
commit04f31d13c5813f6ce1e3076c4e987ffb8fafb9b3 (patch)
tree80da561a4cf0f35eee8aeaa3cdb2166789b76364 /forms/source/xforms
parent885b11cc5d6fb17ca3d0b47f20bd13f0775b1640 (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>
Diffstat (limited to 'forms/source/xforms')
-rw-r--r--forms/source/xforms/datatyperepository.cxx4
-rw-r--r--forms/source/xforms/datatyperepository.hxx3
-rw-r--r--forms/source/xforms/datatypes.cxx23
-rw-r--r--forms/source/xforms/datatypes.hxx21
-rw-r--r--forms/source/xforms/model_helper.hxx11
5 files changed, 0 insertions, 62 deletions
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: