Fix "lets" -> "let's"
Change-Id: I01968fc18b093dbbc27213f01c3da38ae151c62c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169748 Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net> Tested-by: Jenkins
This commit is contained in:
parent
36d898b3bc
commit
102cbf4626
20 changed files with 24 additions and 23 deletions
|
@ -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() )
|
||||
{
|
||||
|
|
|
@ -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())
|
||||
{
|
||||
|
|
|
@ -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<SbxObject*>(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<const SbUnoProperty*>( pElem) != nullptr && pElem->GetParameters() )
|
||||
{
|
||||
|
|
|
@ -139,7 +139,7 @@ bool isLiteralLike(Expr const * expr) {
|
|||
}
|
||||
|
||||
bool canBeUsedForFunctionalCast(TypeSourceInfo const * info) {
|
||||
// Must be <simple-type-specifier> or <typename-specifier>, lets approximate that here:
|
||||
// Must be <simple-type-specifier> or <typename-specifier>, let's approximate that here:
|
||||
assert(info != nullptr);
|
||||
auto const type = info->getType();
|
||||
if (type.hasLocalQualifiers()) {
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <officecfg/Office/Security.hxx>
|
||||
|
||||
// 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 <com/sun/star/uno/RuntimeException.hpp>
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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 ... );
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 );
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue