diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-18 16:56:16 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-19 20:04:22 +0200 |
commit | 3db8d606d5cdb5f0569a4263d4793c17920d0ae1 (patch) | |
tree | e8b5e1e6275c4ccc0cd55c94e39ae7d8bc598e4e /scaddins | |
parent | e175eb3cedded28909247f4d46f2c17ff2f58be2 (diff) |
hrc and src files: squeeze multiple newlines
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done
Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/analysis/analysis.hrc | 3 | ||||
-rw-r--r-- | scaddins/source/datefunc/datefunc.hrc | 5 | ||||
-rw-r--r-- | scaddins/source/datefunc/datefunc.src | 4 | ||||
-rw-r--r-- | scaddins/source/pricing/pricing.hrc | 5 | ||||
-rw-r--r-- | scaddins/source/pricing/pricing.src | 12 |
5 files changed, 0 insertions, 29 deletions
diff --git a/scaddins/source/analysis/analysis.hrc b/scaddins/source/analysis/analysis.hrc index 7593d5d0ea06..4657499dfc67 100644 --- a/scaddins/source/analysis/analysis.hrc +++ b/scaddins/source/analysis/analysis.hrc @@ -19,17 +19,14 @@ #ifndef SCADDINS_ANALYSIS_HRC #define SCADDINS_ANALYSIS_HRC - #define ANALYSIS_RESOURCE_START 1000 - #define RID_ANALYSIS_FUNCTION_DESCRIPTIONS (ANALYSIS_RESOURCE_START+1000) #define RID_ANALYSIS_FUNCTION_NAMES (ANALYSIS_RESOURCE_START+2000) #define RID_ANALYSIS_DEFFUNCTION_NAMES (ANALYSIS_RESOURCE_START+3000) #define ANALYSIS_FUNCDESC_START (ANALYSIS_RESOURCE_START) - #define ANALYSIS_Workday (ANALYSIS_FUNCDESC_START) #define ANALYSIS_Yearfrac (ANALYSIS_FUNCDESC_START+1) #define ANALYSIS_Edate (ANALYSIS_FUNCDESC_START+2) diff --git a/scaddins/source/datefunc/datefunc.hrc b/scaddins/source/datefunc/datefunc.hrc index 157eeed2c5b8..aade8089aa56 100644 --- a/scaddins/source/datefunc/datefunc.hrc +++ b/scaddins/source/datefunc/datefunc.hrc @@ -20,14 +20,12 @@ #ifndef _SCA_DATEFUNC_HRC #define _SCA_DATEFUNC_HRC - #define DATE_RESOURCE_START 1000 #define RID_DATE_FUNCTION_DESCRIPTIONS DATE_RESOURCE_START #define RID_DATE_FUNCTION_NAMES (DATE_RESOURCE_START+1000) #define RID_DATE_DEFFUNCTION_NAMES (DATE_RESOURCE_START+2000) - #define DATE_FUNCDESC_START (RID_DATE_FUNCTION_DESCRIPTIONS+1) #define DATE_FUNCDESC_DiffWeeks (DATE_FUNCDESC_START) @@ -39,7 +37,6 @@ #define DATE_FUNCDESC_WeeksInYear (DATE_FUNCDESC_START+6) #define DATE_FUNCDESC_Rot13 (DATE_FUNCDESC_START+7) - #define DATE_FUNCNAME_START (RID_DATE_FUNCTION_NAMES+1) #define DATE_FUNCNAME_DiffWeeks (DATE_FUNCNAME_START) @@ -51,7 +48,6 @@ #define DATE_FUNCNAME_WeeksInYear (DATE_FUNCNAME_START+6) #define DATE_FUNCNAME_Rot13 (DATE_FUNCNAME_START+7) - #define DATE_DEFFUNCNAME_START (RID_DATE_DEFFUNCTION_NAMES+1) #define DATE_DEFFUNCNAME_DiffWeeks (DATE_DEFFUNCNAME_START) @@ -63,7 +59,6 @@ #define DATE_DEFFUNCNAME_WeeksInYear (DATE_DEFFUNCNAME_START+6) #define DATE_DEFFUNCNAME_Rot13 (DATE_DEFFUNCNAME_START+7) - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/scaddins/source/datefunc/datefunc.src b/scaddins/source/datefunc/datefunc.src index b2e842752a55..17a64b19f243 100644 --- a/scaddins/source/datefunc/datefunc.src +++ b/scaddins/source/datefunc/datefunc.src @@ -17,10 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include "datefunc.hrc" - Resource RID_DATE_FUNCTION_DESCRIPTIONS { Resource DATE_FUNCDESC_DiffWeeks @@ -200,7 +198,6 @@ Resource RID_DATE_FUNCTION_DESCRIPTIONS }; }; - Resource RID_DATE_FUNCTION_NAMES { String DATE_FUNCNAME_DiffWeeks @@ -237,7 +234,6 @@ Resource RID_DATE_FUNCTION_NAMES }; }; - Resource RID_DATE_DEFFUNCTION_NAMES { diff --git a/scaddins/source/pricing/pricing.hrc b/scaddins/source/pricing/pricing.hrc index 154aa083c450..64cd4c106965 100644 --- a/scaddins/source/pricing/pricing.hrc +++ b/scaddins/source/pricing/pricing.hrc @@ -20,14 +20,12 @@ #ifndef _SCA_PRICING_HRC #define _SCA_PRICING_HRC - #define PRICING_RESOURCE_START 1000 #define RID_PRICING_FUNCTION_DESCRIPTIONS PRICING_RESOURCE_START #define RID_PRICING_FUNCTION_NAMES (PRICING_RESOURCE_START+1000) #define RID_PRICING_DEFFUNCTION_NAMES (PRICING_RESOURCE_START+2000) - #define PRICING_FUNCDESC_START (RID_PRICING_FUNCTION_DESCRIPTIONS+1) #define PRICING_FUNCDESC_OptBarrier (PRICING_FUNCDESC_START) @@ -35,7 +33,6 @@ #define PRICING_FUNCDESC_OptProbHit (PRICING_FUNCDESC_START+2) #define PRICING_FUNCDESC_OptProbInMoney (PRICING_FUNCDESC_START+3) - #define PRICING_FUNCNAME_START (RID_PRICING_FUNCTION_NAMES+1) #define PRICING_FUNCNAME_OptBarrier (PRICING_FUNCNAME_START) @@ -43,7 +40,6 @@ #define PRICING_FUNCNAME_OptProbHit (PRICING_FUNCNAME_START+2) #define PRICING_FUNCNAME_OptProbInMoney (PRICING_FUNCNAME_START+3) - #define PRICING_DEFFUNCNAME_START (RID_PRICING_DEFFUNCTION_NAMES+1) #define PRICING_DEFFUNCNAME_OptBarrier (PRICING_DEFFUNCNAME_START) @@ -51,7 +47,6 @@ #define PRICING_DEFFUNCNAME_OptProbHit (PRICING_DEFFUNCNAME_START+2) #define PRICING_DEFFUNCNAME_OptProbInMoney (PRICING_DEFFUNCNAME_START+3) - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/scaddins/source/pricing/pricing.src b/scaddins/source/pricing/pricing.src index cc039c5e9b7c..0515032bcd9b 100644 --- a/scaddins/source/pricing/pricing.src +++ b/scaddins/source/pricing/pricing.src @@ -17,10 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include "pricing.hrc" - // function and parameter description Resource RID_PRICING_FUNCTION_DESCRIPTIONS { @@ -149,8 +147,6 @@ Resource RID_PRICING_FUNCTION_DESCRIPTIONS }; }; - - Resource PRICING_FUNCDESC_OptTouch { String 1 // description @@ -258,7 +254,6 @@ Resource RID_PRICING_FUNCTION_DESCRIPTIONS }; }; - Resource PRICING_FUNCDESC_OptProbHit { String 1 // description @@ -321,7 +316,6 @@ Resource RID_PRICING_FUNCTION_DESCRIPTIONS }; }; - Resource PRICING_FUNCDESC_OptProbInMoney { String 1 // description @@ -402,12 +396,8 @@ Resource RID_PRICING_FUNCTION_DESCRIPTIONS }; }; - - - }; - // function names as accessible from cells Resource RID_PRICING_FUNCTION_NAMES { @@ -430,7 +420,6 @@ Resource RID_PRICING_FUNCTION_NAMES }; - // These were originally meant to be able to load Excel documents that for // some time were stored with localized function names. // This is not relevant to this add-in, so we only supply the same @@ -446,7 +435,6 @@ Resource RID_PRICING_DEFFUNCTION_NAMES }; }; - StringArray PRICING_DEFFUNCNAME_OptTouch { ItemList = |