summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-05-05 00:19:55 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-05-05 09:15:27 +0200
commit5fcc7a6b4826d89521a771733b3c00526b4e9388 (patch)
tree8265529e8b209e141cf0041f124328f8d8bec765
parent8d77bc5638fa08162ce42e2971bdb42db7f4d9c6 (diff)
Fix typos
Change-Id: I70e17e06279ca8d11a482011c8c74c14ec692ba1 Reviewed-on: https://gerrit.libreoffice.org/53888 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--sw/source/uibase/uiview/view.cxx2
-rw-r--r--tools/inc/systemdatetime.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx
index ea3e648d2617..5317cb99ed00 100644
--- a/sw/source/uibase/uiview/view.cxx
+++ b/sw/source/uibase/uiview/view.cxx
@@ -1411,7 +1411,7 @@ void SwView::ReadUserDataSequence ( const uno::Sequence < beans::PropertyValue >
// In case we have a 'fixed' view layout of 2 or more columns,
// we have to apply the view options *before* starting the action.
- // Otherwsie the SetZoom function cannot work correctly, because
+ // Otherwise the SetZoom function cannot work correctly, because
// the view layout hasn't been calculated.
const bool bZoomNeedsViewLayout = bSetViewLayoutSettings &&
1 < nViewLayoutColumns &&
diff --git a/tools/inc/systemdatetime.hxx b/tools/inc/systemdatetime.hxx
index cc74eae61340..29306112a311 100644
--- a/tools/inc/systemdatetime.hxx
+++ b/tools/inc/systemdatetime.hxx
@@ -17,7 +17,7 @@ constexpr sal_Int64 HOUR_MASK = SAL_CONST_INT64(10000000000000);
/** Get current local timestamp.
Both pDate and pTime can be null.
- Returns true if succeeded, false otherwse.
+ Returns true if succeeded, false otherwise.
*/
bool GetSystemDateTime(sal_Int32* pDate, sal_Int64* pTime);