editeng/source/misc/splwrap.cxx | 2 +- forms/source/component/Edit.cxx | 2 +- sc/source/ui/docshell/docsh8.cxx | 2 +- sc/source/ui/view/output2.cxx | 2 +- sfx2/source/doc/sfxmodelfactory.cxx | 2 +- vcl/unx/generic/printer/ppdparser.cxx | 2 +- vcl/win/gdi/salvd.cxx | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-)
New commits: commit 133da6ed83b278b9e6059c5c1a3d49f9f402792e Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Fri Jul 20 10:16:14 2018 +0200 Commit: Jens Carl <j.car...@gmx.de> CommitDate: Fri Jul 20 18:55:16 2018 +0200 Fix typos Change-Id: Ia3e6f17217b837517faa588ea7f2e72dc5aff6aa Reviewed-on: https://gerrit.libreoffice.org/57767 Tested-by: Jenkins Reviewed-by: Jens Carl <j.car...@gmx.de> diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx index d31752d15cc7..6e2175a8f269 100644 --- a/editeng/source/misc/splwrap.cxx +++ b/editeng/source/misc/splwrap.cxx @@ -57,7 +57,7 @@ void SvxPrepareAutoCorrect( OUString &rOldText, const OUString &rNewText ) // the strings before passing them on to the autocorrect function in // order that the autocorrect function will hopefully // works properly with normal words and abbreviations (with trailing '.') - // independ of if they are at the end of the sentence or not. + // independent of if they are at the end of the sentence or not. // // rOldText: text to be replaced // rNewText: replacement text diff --git a/forms/source/component/Edit.cxx b/forms/source/component/Edit.cxx index 064bfe7205a0..0627d60059e2 100644 --- a/forms/source/component/Edit.cxx +++ b/forms/source/component/Edit.cxx @@ -517,7 +517,7 @@ void OEditModel::write(const Reference<XObjectOutputStream>& _rxOutStream) m_xAggregateSet->setPropertyValue(PROPERTY_MAXTEXTLEN, makeAny(nOldTextLen)); // and reset the text // First we set it to an empty string : Without this the second setPropertyValue would not do anything as it thinks - // we aren't changing the prop (it didn't notify the - implicite - change of the text prop while setting the max text len) + // we aren't changing the prop (it didn't notify the - implicit - change of the text prop while setting the max text len) // This seems to be a bug with in toolkit's EditControl-implementation. m_xAggregateSet->setPropertyValue(PROPERTY_TEXT, makeAny(OUString())); m_xAggregateSet->setPropertyValue(PROPERTY_TEXT, aCurrentText); diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx index aae269593844..5729b12f92cc 100644 --- a/sc/source/ui/docshell/docsh8.cxx +++ b/sc/source/ui/docshell/docsh8.cxx @@ -1002,7 +1002,7 @@ ErrCode ScDocShell::DBaseExport( const OUString& rFullFileName, rtl_TextEncoding // SQL error 22001: String length exceeds field width (after encoding). bool bEncErr = (nError == 22018); bool bIsOctetTextEncoding = rtl_isOctetTextEncoding( eCharSet); - OSL_ENSURE( !bEncErr || bIsOctetTextEncoding, "ScDocShell::DBaseExport: encoding error and not an octect textencoding"); + OSL_ENSURE( !bEncErr || bIsOctetTextEncoding, "ScDocShell::DBaseExport: encoding error and not an octet textencoding"); SCCOL nDocCol = nFirstCol; const sal_Int32* pColTypes = aColTypes.getConstArray(); const sal_Int32* pColLengths = aColLengths.getConstArray(); diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx index 5177e128ded2..58992589d93e 100644 --- a/sc/source/ui/view/output2.cxx +++ b/sc/source/ui/view/output2.cxx @@ -4728,7 +4728,7 @@ void ScOutputData::DrawRotated(bool bPixelToLogic) double nAbsCos = fabs( nCos ); double nAbsSin = fabs( nSin ); - // adjust witdh of papersize for height of text + // adjust width of papersize for height of text int nSteps = 5; while (nSteps > 0) { diff --git a/sfx2/source/doc/sfxmodelfactory.cxx b/sfx2/source/doc/sfxmodelfactory.cxx index 564a5dc3e0c3..1cd797b8f6b8 100644 --- a/sfx2/source/doc/sfxmodelfactory.cxx +++ b/sfx2/source/doc/sfxmodelfactory.cxx @@ -153,7 +153,7 @@ namespace sfx2 Reference< XInterface > xInstance( (*m_pComponentFactoryFunc)( m_xServiceFactory, nCreationFlags ) ); - // to mimic the bahaviour of the default factory's createInstanceWithArguments, we initialize + // to mimic the behaviour of the default factory's createInstanceWithArguments, we initialize // the object with the given arguments, stripped by the three special ones Sequence< Any > aStrippedArguments( _rArguments.getLength() ); Any* pStrippedArgs = aStrippedArguments.getArray(); diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx index 0caf55d81532..78c0dad4e075 100644 --- a/vcl/unx/generic/printer/ppdparser.cxx +++ b/vcl/unx/generic/printer/ppdparser.cxx @@ -571,7 +571,7 @@ const PPDParser* PPDParser::getParser( const OUString& rFile ) if( pNewParser ) { // this may actually be the SGENPRT parser, - // so ensure uniqueness here (but don't remove lest we delete us!) + // so ensure uniqueness here (but don't remove last we delete us!) if (std::find_if( rPPDCache.aAllParsers.begin(), rPPDCache.aAllParsers.end(), diff --git a/vcl/win/gdi/salvd.cxx b/vcl/win/gdi/salvd.cxx index ffdac5306e26..3532f2134f4d 100644 --- a/vcl/win/gdi/salvd.cxx +++ b/vcl/win/gdi/salvd.cxx @@ -46,7 +46,7 @@ HBITMAP WinSalVirtualDevice::ImplCreateVirDevBitmap(HDC hDC, long nDX, long nDY, nBitCount = static_cast<WORD>(GetDeviceCaps(hDC, BITSPIXEL)); // #146839# Don't use CreateCompatibleBitmap() - there seem to - // be build-in limits for those HBITMAPs, at least this fails + // be built-in limits for those HBITMAPs, at least this fails // rather often on large displays/multi-monitor setups. BITMAPINFO aBitmapInfo; aBitmapInfo.bmiHeader.biSize = sizeof( BITMAPINFOHEADER ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits