diff options
Diffstat (limited to 'forms/source/xforms/xpathlib/xpathlib.cxx')
-rw-r--r-- | forms/source/xforms/xpathlib/xpathlib.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/xforms/xpathlib/xpathlib.cxx b/forms/source/xforms/xpathlib/xpathlib.cxx index 0f3a9fcd0df2..c90a41388a96 100644 --- a/forms/source/xforms/xpathlib/xpathlib.cxx +++ b/forms/source/xforms/xpathlib/xpathlib.cxx @@ -488,7 +488,7 @@ void xforms_monthsFuction(xmlXPathParserContextPtr ctxt, int nargs) if (parseDuration(pString, bNegative, nYears, nMonths, nDays, nHours, nMinutes, nSeconds)) { nMonths += nYears*12; - // Days, Houres, Minutes and seconds are ignored, see spec + // Days, Hours, Minutes and seconds are ignored, see spec if (bNegative) nMonths = 0 - nMonths; xmlXPathReturnNumber(ctxt, nMonths); |