summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);