summaryrefslogtreecommitdiff
path: root/sc/addin
diff options
context:
space:
mode:
Diffstat (limited to 'sc/addin')
-rw-r--r--sc/addin/datefunc/dfa.cl10
-rw-r--r--sc/addin/datefunc/dfa.src2
-rw-r--r--sc/addin/rot13/rot13.cl2
-rw-r--r--sc/addin/rot13/rot13.src2
4 files changed, 8 insertions, 8 deletions
diff --git a/sc/addin/datefunc/dfa.cl b/sc/addin/datefunc/dfa.cl
index 366011ee1a27..283aff9ecb8a 100644
--- a/sc/addin/datefunc/dfa.cl
+++ b/sc/addin/datefunc/dfa.cl
@@ -217,14 +217,14 @@ static void DaysToDate( long nDays,
* The International Standard IS-8601 has decreed that Monday
* shall be the first day of the week.
*
- * A week that lies partly in one year and partly in annother
+ * A week that lies partly in one year and partly in another
* is assigned a number in the the year in which most of its days lie.
*
* That means that week 1 of any year is the week that contains the 4. January
*
* The internal representation of a Date used in the Addin is the number of days based on 01/01/0001
*
- * A WeekDay can be then calculated by substracting 1 and calculating the rest of
+ * A WeekDay can be then calculated by subtracting 1 and calculating the rest of
* a division by 7, which gives a 0 - 6 value for Monday - Sunday
*
* Using the 4. January rule explained above the formula
@@ -234,7 +234,7 @@ static void DaysToDate( long nDays,
* calculates a number between 0-53 for each day which is in the same year as nJan4
* where 0 means that this week belonged to the year before.
*
- * If a day in the same or annother year is used in this formula this calculates
+ * If a day in the same or another year is used in this formula this calculates
* an calendar week offset from a given 4. January
*
* nWeek2 = ( nDays2 - nJan4 + ( (nJan4-1) % 7 ) ) / 7 + 1;
@@ -428,7 +428,7 @@ void CALLTYPE ScDate_DaysInMonth(double *r, double *d)
* The International Standard IS-8601 has decreed that Monday
* shall be the first day of the week.
*
- * A WeekDay can be calculated by substracting 1 and calculating the rest of
+ * A WeekDay can be calculated by subtracting 1 and calculating the rest of
* a division by 7 from the internal date represention
* which gives a 0 - 6 value for Monday - Sunday
*
@@ -508,7 +508,7 @@ void CALLTYPE GetFunctionCount( USHORT *nCount )
}
/**
- * Provides neccessary data for each new function to StarCalc
+ * Provides necessary data for each new function to StarCalc
*
* @param *nNo Input: Function number between 0 and nCount - 1
* @param *pFuncName Output: Functionname which should be called in the AddIn-DLL
diff --git a/sc/addin/datefunc/dfa.src b/sc/addin/datefunc/dfa.src
index d61fe7ca73dc..a03881d6504e 100644
--- a/sc/addin/datefunc/dfa.src
+++ b/sc/addin/datefunc/dfa.src
@@ -27,7 +27,7 @@
* legacy AddIn interface. The interface is still supported, but deprecated.
* The strings here were displayed in the function wizard. To prevent
* duplicated and useless translation effort (functions and strings are also
- * part of the new scaddin module), the strings here are now layed out as fixed
+ * part of the new scaddin module), the strings here are now laid out as fixed
* untranslatable strings. The entire mechanism with the ../util/cl2c.pl perl
* script merging the raw .cl and the .src during build time didn't work
* anymore anyway, since we switched from MS-LCIDs / telephone area codes to
diff --git a/sc/addin/rot13/rot13.cl b/sc/addin/rot13/rot13.cl
index a1bd601354bf..9f2dd4f8ea80 100644
--- a/sc/addin/rot13/rot13.cl
+++ b/sc/addin/rot13/rot13.cl
@@ -57,7 +57,7 @@ void CALLTYPE GetFunctionCount( USHORT *nCount )
}
/**
- * Provides neccessary data for each new function to StarCalc
+ * Provides necessary data for each new function to StarCalc
*
* @param *nNo Input: Function number between 0 and nCount - 1
* @param *pFuncName Output: Functionname which should be called in the AddIn-DLL
diff --git a/sc/addin/rot13/rot13.src b/sc/addin/rot13/rot13.src
index b7b29187a0b6..8bd75cc3b112 100644
--- a/sc/addin/rot13/rot13.src
+++ b/sc/addin/rot13/rot13.src
@@ -27,7 +27,7 @@
* legacy AddIn interface. The interface is still supported, but deprecated.
* The strings here were displayed in the function wizard. To prevent
* duplicated and useless translation effort (functions and strings are also
- * part of the new scaddin module), the strings here are now layed out as fixed
+ * part of the new scaddin module), the strings here are now laid out as fixed
* untranslatable strings. The entire mechanism with the ../util/cl2c.pl perl
* script merging the raw .cl and the .src during build time didn't work
* anymore anyway, since we switched from MS-LCIDs / telephone area codes to