diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 419b2bb31a84..463d11b95fbf 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -1697,8 +1697,9 @@ bool checkUnoObjectType(SbUnoObject& rUnoObj, const OUString& rClass) OUString aInterfaceName = xClass->getName(); if ( aInterfaceName == "com.sun.star.bridge.oleautomation.XAutomationObject" ) { - // there is a hack in the extensions/source/ole/oleobj.cxx to return the typename of the automation object, lets check if it - // matches + // there is a hack in the extensions/source/ole/oleobj.cxx + // to return the typename of the automation object, let's + // check if it matches Reference< XInvocation > xInv( aToInspectObj, UNO_QUERY ); if ( xInv.is() ) { diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index f3551bc1b425..95d751bb0202 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -1744,7 +1744,7 @@ bool SbModule::HasExeCode() { // And empty Image always has the Global Chain set up static const unsigned char pEmptyImage[] = { 0x45, 0x0 , 0x0, 0x0, 0x0 }; - // lets be stricter for the moment than VBA + // let's be stricter for the moment than VBA if (!IsCompiled()) { diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index 90b40cb8adc8..b692c66de698 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -1641,7 +1641,7 @@ static bool checkUnoStructCopy( bool bVBA, SbxVariableRef const & refVal, SbxVar // There are some circumstances when calling GetObject // will trigger an error, we need to squash those here. // Alternatively it is possible that the same scenario - // could overwrite and existing error. Lets prevent that + // could overwrite and existing error. Let's prevent that SbxObjectRef xVarObj = static_cast(refVar->GetObject()); if ( eOldErr != ERRCODE_NONE ) SbxBase::SetError( eOldErr ); @@ -3698,7 +3698,7 @@ SbxVariable* SbiRuntime::FindElement( SbxObject* pObj, sal_uInt32 nOp1, sal_uInt } // consider index-access for UnoObjects // definitely we want this for VBA where properties are often - // collections ( which need index access ), but lets only do + // collections ( which need index access ), but let's only do // this if we actually have params following else if( bVBAEnabled && dynamic_cast( pElem) != nullptr && pElem->GetParameters() ) { diff --git a/compilerplugins/clang/cstylecast.cxx b/compilerplugins/clang/cstylecast.cxx index a516144a6141..f548b1fd8123 100644 --- a/compilerplugins/clang/cstylecast.cxx +++ b/compilerplugins/clang/cstylecast.cxx @@ -139,7 +139,7 @@ bool isLiteralLike(Expr const * expr) { } bool canBeUsedForFunctionalCast(TypeSourceInfo const * info) { - // Must be or , lets approximate that here: + // Must be or , let's approximate that here: assert(info != nullptr); auto const type = info->getType(); if (type.hasLocalQualifiers()) { diff --git a/compilerplugins/clang/unsignedcompare.cxx b/compilerplugins/clang/unsignedcompare.cxx index 5b55edea2843..9b1ed684a90f 100644 --- a/compilerplugins/clang/unsignedcompare.cxx +++ b/compilerplugins/clang/unsignedcompare.cxx @@ -122,7 +122,7 @@ public: // actually meant to e.g. clamp from a large signed type to a small unsigned type. The // assumption is that this will only be likely the case for BO_EQ (==) and BO_NE (!=) // comparisons, so filter these out here (not sure what case BO_Cmp (<=>) will turn out to - // be, so lets keep it here at least for now): + // be, so let's keep it here at least for now): switch (expr->getOpcode()) { case BO_Cmp: diff --git a/configure.ac b/configure.ac index 50f26eba6611..eb6e1f3e9853 100644 --- a/configure.ac +++ b/configure.ac @@ -13312,7 +13312,7 @@ AC_SUBST(SYSTEM_RHINO) AC_SUBST(RHINO_JAR) # This is only used in Qt5/Qt6/KF5/KF6 checks to determine if /usr/lib64 -# paths should be added to library search path. So lets put all 64-bit +# paths should be added to library search path. So let's put all 64-bit # platforms there. supports_multilib= case "$host_cpu" in diff --git a/dbaccess/source/core/inc/ModelImpl.hxx b/dbaccess/source/core/inc/ModelImpl.hxx index b59371125cbc..2ddd1889dc2f 100644 --- a/dbaccess/source/core/inc/ModelImpl.hxx +++ b/dbaccess/source/core/inc/ModelImpl.hxx @@ -431,7 +431,7 @@ public: css::uno::Reference< css::script::XStorageBasedLibraryContainer > getLibraryContainer( bool _bScript ); - /** lets our library containers store themself into the given root storage + /** lets our library containers store themselves into the given root storage */ void storeLibraryContainersTo( const css::uno::Reference< css::embed::XStorage >& _rxToRootStorage ); diff --git a/include/systools/curlinit.hxx b/include/systools/curlinit.hxx index 7c6f8d07deaf..7fe72370c858 100644 --- a/include/systools/curlinit.hxx +++ b/include/systools/curlinit.hxx @@ -14,7 +14,7 @@ #include // curl is built with --with-secure-transport on macOS and iOS so doesn't need these -// certs. Windows doesn't need them either, but lets assume everything else does +// certs. Windows doesn't need them either, but let's assume everything else does #if !defined(SYSTEM_OPENSSL) && !defined(_WIN32) && !defined(MACOSX) && !defined(IOS) #include diff --git a/oox/source/drawingml/textrun.cxx b/oox/source/drawingml/textrun.cxx index faee78f78244..1160e36e4cf4 100644 --- a/oox/source/drawingml/textrun.cxx +++ b/oox/source/drawingml/textrun.cxx @@ -72,7 +72,7 @@ sal_Int32 TextRun::insertAt( TextCharacterProperties aTextCharacterProps( rTextCharacterStyle ); - // If no text color specified lets anyway initialize it as default: + // If no text color specified let's anyway initialize it as default: // this will help to recover after hyperlink if (!aTextCharacterProps.maFillProperties.maFillColor.isUsed()) aTextCharacterProps.maFillProperties.moFillType = XML_solidFill; diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx index d93fb41209bf..d2db24d75d5a 100644 --- a/oox/source/helper/propertymap.cxx +++ b/oox/source/helper/propertymap.cxx @@ -538,7 +538,7 @@ static const char *lclGetEnhancedParameterType( sal_uInt16 nType ) static void printParameterPairData(int level, EnhancedCustomShapeParameterPair const &pp) { - // These are always sal_Int32s so lets depend on that for our packing ... + // These are always sal_Int32s so let's depend on that for our packing... sal_Int32 nFirstValue = {}; sal_Int32 nSecondValue = {}; // spurious -Werror=maybe-uninitialized if (!(pp.First.Value >>= nFirstValue)) diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java index 98af0c3fa076..6e7339171fd9 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java @@ -138,7 +138,7 @@ public class StyleUtilities } // There is no automatic style either. Now this means that someone - // messed up the fileformat. Lets create a new empty style for this. + // messed up the fileformat. Let's create a new empty style for this. final OfficeStyle autostyle = new OfficeStyle(); autostyle.setNamespace(OfficeNamespaces.STYLE_NS); autostyle.setType(STYLE); diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/spreadsheet/SpreadsheetRawReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/spreadsheet/SpreadsheetRawReportTarget.java index b1d979e7b788..4987184ee9bd 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/spreadsheet/SpreadsheetRawReportTarget.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/spreadsheet/SpreadsheetRawReportTarget.java @@ -374,7 +374,7 @@ public class SpreadsheetRawReportTarget extends OfficeDocumentReportTarget { // a new row means our column counter gets reset columnCounter = 0; - // Lets make sure the color of the table is ok .. + // Let's make sure the color of the table is ok... if (tableBackgroundColor != null) { final String styleName = (String) attrs.getAttribute(OfficeNamespaces.TABLE_NS, OfficeToken.STYLE_NAME); diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java index d8e50d2d4991..302e6908914b 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java @@ -642,7 +642,7 @@ public class TextRawReportTarget extends OfficeDocumentReportTarget if (style == null) { style = deriveStyle(OfficeToken.PARAGRAPH, styleName); - // Lets set the 'keep-together' flag... + // Let's set the 'keep-together' flag... Element paragraphProps = style.getParagraphProperties(); if (paragraphProps == null) diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport14.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport14.cxx index 9a19ca827700..76a7c11a310e 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport14.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport14.cxx @@ -742,8 +742,8 @@ DECLARE_OOXMLEXPORT_TEST(testTdf83309, "tdf83309.docx") CPPUNIT_ASSERT_EQUAL(2, getPages()); // First paragraph does not have tab before - // (same applies to all paragraphs in doc, but lets assume they are - // behave same way) + // (same applies to all paragraphs in doc, but let's assume they are + // behaving same way) OUString sNodeType = parseDump("(/root/page[1]/body/txt[1]/SwParaPortion/SwLineLayout/child::*)[1]"_ostr, "type"_ostr); CPPUNIT_ASSERT_EQUAL(u"PortionType::Text"_ustr, sNodeType); diff --git a/vcl/README.lifecycle.md b/vcl/README.lifecycle.md index 8b0e5de2d0fd..4f9c99d516fd 100644 --- a/vcl/README.lifecycle.md +++ b/vcl/README.lifecycle.md @@ -120,7 +120,7 @@ pointer for you. ### How does my familiar code change ? -Lets tweak the exemplary code above to fit the new model: +Let's tweak the exemplary code above to fit the new model: ``` - Dialog aDialog(... dialog params ... ); diff --git a/vcl/source/bitmap/dibtools.cxx b/vcl/source/bitmap/dibtools.cxx index 483da0d89e2c..c4b15f79e76b 100644 --- a/vcl/source/bitmap/dibtools.cxx +++ b/vcl/source/bitmap/dibtools.cxx @@ -944,7 +944,7 @@ bool ImplReadDIBBody(SvStream& rIStm, Bitmap& rBmp, AlphaMask* pBmpAlpha, sal_uI // tdf#122958 invalid compression value used if (aHeader.nCompression & 0x000F) { - // lets assume that there was an error in the generating application + // let's assume that there was an error in the generating application // and allow through as COMPRESS_NONE if the bottom byte is 0 SAL_WARN( "vcl", "bad bmp compression scheme: " << aHeader.nCompression << ", rejecting bmp"); return false; diff --git a/vcl/unx/generic/app/i18n_im.cxx b/vcl/unx/generic/app/i18n_im.cxx index e3767b175d1d..16ac1d583483 100644 --- a/vcl/unx/generic/app/i18n_im.cxx +++ b/vcl/unx/generic/app/i18n_im.cxx @@ -253,7 +253,7 @@ SalI18N_InputMethod::~SalI18N_InputMethod() } // XXX -// debug routine: lets have a look at the provided method styles +// debug routine: let's have a look at the provided method styles #if OSL_DEBUG_LEVEL > 1 diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx index 17191372bbaf..a189ab3f1161 100644 --- a/vcl/unx/generic/fontmanager/fontconfig.cxx +++ b/vcl/unx/generic/fontmanager/fontconfig.cxx @@ -889,7 +889,7 @@ namespace //returns true if the given code-point couldn't possibly be in rLangTag. bool isImpossibleCodePointForLang(const LanguageTag &rLangTag, sal_uInt32 currentChar) { - //a non-default script is set, lets believe it + //a non-default script is set, let's believe it if (rLangTag.hasScript()) return false; diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx index 36ad16ebcb00..cb1ded1de477 100644 --- a/xmloff/source/draw/ximppage.cxx +++ b/xmloff/source/draw/ximppage.cxx @@ -170,7 +170,7 @@ css::uno::Reference< css::xml::sax::XFastContextHandler > DrawAnnotationContext: } } - // if we have a text cursor, lets try to import some text + // if we have a text cursor, let's try to import some text if( mxCursor.is() ) { auto p = GetImport().GetTextImport()->CreateTextChildContext( GetImport(), nElement, xAttrList ); diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx index 0c54958421e1..42170c371e4d 100644 --- a/xmloff/source/style/xmlexppr.cxx +++ b/xmloff/source/style/xmlexppr.cxx @@ -904,7 +904,7 @@ void SvXMLExportPropertyMapper::_exportXML( rPropTypeFlags |= (1 << nEPType); if( nEPType == nPropType ) { - // we have a valid map entry here, so lets use it... + // we have a valid map entry here, so let's use it... if( ( nEFlags & MID_FLAG_ELEMENT_ITEM_EXPORT ) != 0 ) { // element items do not add any properties,