summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2023-06-17 18:09:17 +0200
committerJulien Nabet <serval2412@yahoo.fr>2023-06-17 20:50:14 +0200
commitc041b5a3bc3301f137b141e1731b711178d536d2 (patch)
treee49c04ab5344100b95ed94aef09332f28cb5eb00 /tools
parent30c48379c7b791edc615e7691691e344baa455a3 (diff)
Fix typo
Change-Id: I1d7b271eed63dd0272bd92431eaac3e2dfbfe2b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153206 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'tools')
-rw-r--r--tools/source/datetime/duration.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/datetime/duration.cxx b/tools/source/datetime/duration.cxx
index 07f79929177f..c8cb4616eb08 100644
--- a/tools/source/datetime/duration.cxx
+++ b/tools/source/datetime/duration.cxx
@@ -67,7 +67,7 @@ Duration::Duration(double fTimeInDays)
fFrac = ::rtl::math::approxFloor(fFrac);
sal_Int64 nNS = static_cast<sal_Int64>(fFrac);
// Round by 1 nanosecond if it's just 1 off to a second, i.e.
- // 0999999999 or 0000000001. This could be losened to rounding by 2 or
+ // 0999999999 or 0000000001. This could be loosened to rounding by 2 or
// such if necessary.
const sal_Int64 nN = nNS % Time::nanoSecPerSec;
if (std::abs(nN) == 1)