From eced5a20b5db1364aa9feb50dfc8e55b34324b9e Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 3 Sep 2019 00:19:40 +0200 Subject: Fix typos Change-Id: I7eacff7dd5bf1e8ae70d2bca0bc852b8a45eeeec Reviewed-on: https://gerrit.libreoffice.org/78428 Tested-by: Jenkins Reviewed-by: Julien Nabet --- desktop/source/app/app.cxx | 2 +- filter/source/msfilter/msdffimp.cxx | 2 +- include/comphelper/configurationhelper.hxx | 2 +- offapi/com/sun/star/embed/StorageStream.idl | 2 +- sc/source/ui/unoobj/cursuno.cxx | 2 +- sc/source/ui/unoobj/datauno.cxx | 2 +- svtools/source/misc/sampletext.cxx | 4 ++-- vcl/source/window/floatwin.cxx | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 1071dab7ce07..b733080fd94a 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -1165,7 +1165,7 @@ void Desktop::Exception(ExceptionCategory nCategory) ( !rArgs.IsNoRestore() ) && // some use cases of office must work without recovery ( !rArgs.IsHeadless() ) && ( nCategory != ExceptionCategory::UserInterface ) && // recovery can't work without UI ... but UI layer seems to be the reason for this crash - ( Application::IsInExecute() ) // crashes during startup and shutdown should be ignored (they indicates a corrupt installation ...) + ( Application::IsInExecute() ) // crashes during startup and shutdown should be ignored (they indicate a corrupted installation...) ); if ( bAllowRecoveryAndSessionManagement ) { diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index c3ee81c39d32..17be716f50c8 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -2866,7 +2866,7 @@ void DffPropertyReader::ImportGradientColor( SfxItemSet& aSet,MSO_FillType eMSO_ nChgColors ^= 1; } //if the type is linear or axial, just save focus to nFocusX and nFocusY for export - //Core function does no need them. They serves for rect gradient(CenterXY). + //Core function does no need them. They serve for rect gradient(CenterXY). sal_uInt16 nFocusX = static_cast(nFocus); sal_uInt16 nFocusY = static_cast(nFocus); diff --git a/include/comphelper/configurationhelper.hxx b/include/comphelper/configurationhelper.hxx index eb9e7b8fd3f5..5c50aa9f5dff 100644 --- a/include/comphelper/configurationhelper.hxx +++ b/include/comphelper/configurationhelper.hxx @@ -159,7 +159,7 @@ public: * all operations are made relative to this access point. * * Further this method must be used only with configuration set's. - * Atomic keys can't be "created" ... they "exists every time". + * Atomic keys can't be "created"... they "exist every time". * * @param xCFG * the configuration root, where sRelPathToSet should be interpreted diff --git a/offapi/com/sun/star/embed/StorageStream.idl b/offapi/com/sun/star/embed/StorageStream.idl index cb90b6a08496..8388e2ac8213 100644 --- a/offapi/com/sun/star/embed/StorageStream.idl +++ b/offapi/com/sun/star/embed/StorageStream.idl @@ -84,7 +84,7 @@ published service StorageStream

When a stream is disposed all the changes that were done for it are - automatically flashed, so that they becomes visible from parent + automatically flashed, so that they become visible from parent storage. It is also possible to flash the stream explicitly.

diff --git a/sc/source/ui/unoobj/cursuno.cxx b/sc/source/ui/unoobj/cursuno.cxx index 28e6c92f6f50..dd9b03c57e83 100644 --- a/sc/source/ui/unoobj/cursuno.cxx +++ b/sc/source/ui/unoobj/cursuno.cxx @@ -127,7 +127,7 @@ void SAL_CALL ScCellCursorObj::collapseToCurrentArray() } } // that's a Bug, that this assertion comes; the API Reference says, that - // if there is no Matrix, the Range is left unchanged; they says nothing + // if there is no Matrix, the Range is left unchanged; they say nothing // about an exception /*if (!bFound) { diff --git a/sc/source/ui/unoobj/datauno.cxx b/sc/source/ui/unoobj/datauno.cxx index 89064f898c31..596da506ad14 100644 --- a/sc/source/ui/unoobj/datauno.cxx +++ b/sc/source/ui/unoobj/datauno.cxx @@ -533,7 +533,7 @@ ScSubTotalDescriptorBase::~ScSubTotalDescriptorBase() { } -// XSubTotalDesctiptor +// XSubTotalDescriptor ScSubTotalFieldObj* ScSubTotalDescriptorBase::GetObjectByIndex_Impl(sal_uInt16 nIndex) { diff --git a/svtools/source/misc/sampletext.cxx b/svtools/source/misc/sampletext.cxx index f562e2000131..93cabdaacfdf 100644 --- a/svtools/source/misc/sampletext.cxx +++ b/svtools/source/misc/sampletext.cxx @@ -93,12 +93,12 @@ static UScriptCode lcl_getHardCodedScriptNameForFont (const OutputDevice &rDevic } else if (rName == "Hannotate TC" || rName == "HanziPen TC" || rName == "Heiti TC" || rName == "Weibei TC") { - // These fonts claim support for ARMENIAN and a bunch of other stuff they doesn't support + // These fonts claim support for ARMENIAN and a bunch of other stuff they don't support return USCRIPT_TRADITIONAL_HAN; } else if (rName == "Hannotate SC" || rName == "HanziPen SC" || rName == "Heiti SC" || rName == "Weibei SC") { - // These fonts claim support for ARMENIAN and a bunch of other stuff they doesn't support + // These fonts claim support for ARMENIAN and a bunch of other stuff they don't support return USCRIPT_SIMPLIFIED_HAN; } diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx index d6b44034c5bf..55db2be8f593 100644 --- a/vcl/source/window/floatwin.cxx +++ b/vcl/source/window/floatwin.cxx @@ -444,7 +444,7 @@ Point FloatingWindow::ImplCalcPos(vcl::Window* pWindow, if (pW->IsMapModeEnabled() || pW->GetMapMode().GetMapUnit() == MapUnit::MapPixel) { // if we use pW->LogicToLogic(aPos, pW->GetMapMode(), MapMode(MapUnit::MapTwip)), - // for pixel conversions when map mode is not enabled, we gets + // for pixel conversions when map mode is not enabled, we get // a 20 twips per pixel conversion since LogicToLogic uses // a fixed 72 dpi value, instead of a correctly computed output // device dpi or at least the most commonly used 96 dpi value; -- cgit