From a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Tue, 9 Feb 2016 18:16:42 +1100 Subject: 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 Reviewed-by: Chris Sherlock --- xmloff/source/xforms/SchemaContext.cxx | 2 -- xmloff/source/xforms/SchemaRestrictionContext.cxx | 2 -- xmloff/source/xforms/SchemaSimpleTypeContext.cxx | 2 -- xmloff/source/xforms/XFormsBindContext.cxx | 2 -- xmloff/source/xforms/XFormsModelContext.cxx | 4 ---- xmloff/source/xforms/XFormsSubmissionContext.cxx | 2 -- xmloff/source/xforms/xformsexport.cxx | 9 --------- 7 files changed, 23 deletions(-) (limited to 'xmloff/source/xforms') diff --git a/xmloff/source/xforms/SchemaContext.cxx b/xmloff/source/xforms/SchemaContext.cxx index 0d827e56db2a..1a9b0f6b4212 100644 --- a/xmloff/source/xforms/SchemaContext.cxx +++ b/xmloff/source/xforms/SchemaContext.cxx @@ -39,8 +39,6 @@ using com::sun::star::xforms::XDataTypeRepository; using namespace xmloff::token; - - static const SvXMLTokenMapEntry aAttributes[] = { XML_TOKEN_MAP_END diff --git a/xmloff/source/xforms/SchemaRestrictionContext.cxx b/xmloff/source/xforms/SchemaRestrictionContext.cxx index 91d480588767..57f5351a819e 100644 --- a/xmloff/source/xforms/SchemaRestrictionContext.cxx +++ b/xmloff/source/xforms/SchemaRestrictionContext.cxx @@ -57,8 +57,6 @@ using com::sun::star::xforms::XDataTypeRepository; using namespace xmloff::token; - - static const SvXMLTokenMapEntry aAttributes[] = { TOKEN_MAP_ENTRY( NONE, BASE ), diff --git a/xmloff/source/xforms/SchemaSimpleTypeContext.cxx b/xmloff/source/xforms/SchemaSimpleTypeContext.cxx index 671ef25c9d78..77c5bc80a26b 100644 --- a/xmloff/source/xforms/SchemaSimpleTypeContext.cxx +++ b/xmloff/source/xforms/SchemaSimpleTypeContext.cxx @@ -40,8 +40,6 @@ using com::sun::star::xforms::XDataTypeRepository; using namespace xmloff::token; - - static const SvXMLTokenMapEntry aAttributes[] = { TOKEN_MAP_ENTRY( NONE, NAME ), diff --git a/xmloff/source/xforms/XFormsBindContext.cxx b/xmloff/source/xforms/XFormsBindContext.cxx index 0e43c1db9e88..b766414fcbaa 100644 --- a/xmloff/source/xforms/XFormsBindContext.cxx +++ b/xmloff/source/xforms/XFormsBindContext.cxx @@ -46,8 +46,6 @@ using com::sun::star::xforms::XModel2; using namespace xmloff::token; - - static const struct SvXMLTokenMapEntry aAttributeMap[] = { TOKEN_MAP_ENTRY( NONE, NODESET ), diff --git a/xmloff/source/xforms/XFormsModelContext.cxx b/xmloff/source/xforms/XFormsModelContext.cxx index ecede75093f4..4764f00cae98 100644 --- a/xmloff/source/xforms/XFormsModelContext.cxx +++ b/xmloff/source/xforms/XFormsModelContext.cxx @@ -47,8 +47,6 @@ using namespace com::sun::star::uno; using namespace xmloff::token; - - static const SvXMLTokenMapEntry aAttributes[] = { TOKEN_MAP_ENTRY( NONE, ID ), @@ -79,8 +77,6 @@ XFormsModelContext::~XFormsModelContext() } - - void XFormsModelContext::HandleAttribute( sal_uInt16 nToken, const OUString& rValue ) diff --git a/xmloff/source/xforms/XFormsSubmissionContext.cxx b/xmloff/source/xforms/XFormsSubmissionContext.cxx index c7bc2154905a..bd71f60423c2 100644 --- a/xmloff/source/xforms/XFormsSubmissionContext.cxx +++ b/xmloff/source/xforms/XFormsSubmissionContext.cxx @@ -46,8 +46,6 @@ using namespace com::sun::star::uno; using namespace xmloff::token; - - static const struct SvXMLTokenMapEntry aAttributeMap[] = { TOKEN_MAP_ENTRY( NONE, ID ), diff --git a/xmloff/source/xforms/xformsexport.cxx b/xmloff/source/xforms/xformsexport.cxx index d45518e4e57a..5a06bcbee657 100644 --- a/xmloff/source/xforms/xformsexport.cxx +++ b/xmloff/source/xforms/xformsexport.cxx @@ -147,7 +147,6 @@ static OUString lcl_getXSDType( SvXMLExport& rExport, const Reference& xType ); - // the model @@ -249,7 +248,6 @@ void exportXFormsInstance( SvXMLExport& rExport, } - // the binding @@ -363,7 +361,6 @@ void exportXFormsBinding( SvXMLExport& rExport, } - // the submission @@ -396,8 +393,6 @@ void exportXFormsSubmission( SvXMLExport& rExport, } - - // export data types as XSD schema @@ -594,8 +589,6 @@ void exportXFormsSchemas( SvXMLExport& rExport, } - - // helper functions @@ -620,8 +613,6 @@ static void lcl_export( const Reference& rPropertySet, } - - // any conversion functions -- cgit