summaryrefslogtreecommitdiff
path: root/scaddins/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-24 12:46:41 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-03-25 17:24:16 +0000
commit5a72da3d979d88442ea5b7f1f54ba9811173ec64 (patch)
tree42b746fb4a965e294ad307beaae1e76082fa7d38 /scaddins/source
parentfeeb8ccfe1aff373e158b64f76e35da1a4e295c0 (diff)
Fix typos
Change-Id: I4e1a613fc99b931e84a1955695364e1d25e25e5c Reviewed-on: https://gerrit.libreoffice.org/35642 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'scaddins/source')
-rw-r--r--scaddins/source/datefunc/datefunc.cxx2
-rw-r--r--scaddins/source/pricing/black_scholes.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx
index 98205fb75f82..5e862a971f48 100644
--- a/scaddins/source/datefunc/datefunc.cxx
+++ b/scaddins/source/datefunc/datefunc.cxx
@@ -721,7 +721,7 @@ sal_Int32 SAL_CALL ScaDateAddIn::getDaysInYear(
* Get number of weeks in the year for a date
*
* Most years have 52 weeks, but years that start on a Thursday
- * and leapyears that start on a Wednesday have 53 weeks
+ * and leap years that start on a Wednesday have 53 weeks
*
* The International Standard IS-8601 has decreed that Monday
* shall be the first day of the week.
diff --git a/scaddins/source/pricing/black_scholes.cxx b/scaddins/source/pricing/black_scholes.cxx
index 95fa888a87ff..8a8cd1eb88da 100644
--- a/scaddins/source/pricing/black_scholes.cxx
+++ b/scaddins/source/pricing/black_scholes.cxx
@@ -31,7 +31,7 @@
// - vanilla put/call: putcall() = +/- ( binasset() - K*bincash() )
// - truncated put/call (barriers active at maturity only)
-// (3) write a wrapper function to include all vanilla pricers
+// (3) write a wrapper function to include all vanilla prices
// - this is so we don't duplicate code when pricing barriers
// as this is derived from vanillas