Fix typos
Change-Id: I66a132543f08b1ca84241e50fcfbc1d647e49dd9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209886 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
08a814d780
commit
7ea3d23dab
@@ -92,7 +92,7 @@ void foo4()
|
||||
|
||||
UnoObject* foo5()
|
||||
{
|
||||
// expected-error@+1 {{new object of cppu::OWeakObject subclass 'UnoObject' being returned via raw pointer, should be returned by via rtl::Reference [loplugin:refcounting]}}
|
||||
// expected-error@+1 {{new object of cppu::OWeakObject subclass 'UnoObject' being returned via raw pointer, should be returned via rtl::Reference [loplugin:refcounting]}}
|
||||
return new UnoObject;
|
||||
}
|
||||
rtl::Reference<UnoObject> foo6()
|
||||
|
||||
@@ -1125,7 +1125,7 @@ std::optional<CalleeWrapper> WriteOnlyVars::getCallee(CallExpr const* callExpr)
|
||||
if (functionDecl)
|
||||
return CalleeWrapper(functionDecl);
|
||||
|
||||
// Extract the functionprototype from a type
|
||||
// Extract the function prototype from a type
|
||||
clang::Type const* calleeType = callExpr->getCallee()->getType().getTypePtr();
|
||||
if (auto pointerType = calleeType->getUnqualifiedDesugaredType()->getAs<clang::PointerType>())
|
||||
{
|
||||
|
||||
@@ -70,7 +70,7 @@ css::uno::Reference< css::beans::XPropertySet > OKeyColumnsHelper::createObject(
|
||||
}
|
||||
}
|
||||
|
||||
// now describe the column _rName and set his related column
|
||||
// now describe the column _rName and set its related column
|
||||
xResult = m_pKey->getTable()->getMetaData()->getColumns(Catalog, aSchema, aTable, _rName);
|
||||
|
||||
if ( !xResult.is() )
|
||||
|
||||
@@ -79,7 +79,7 @@ css::uno::Reference< css::beans::XPropertySet > OKeys::appendObject( const OUStr
|
||||
vOptional)) )
|
||||
{
|
||||
ADOS::ThrowException(m_pConnection->getConnection(),static_cast<XTypeProvider*>(this));
|
||||
// just make sure that an SQLExceptionis thrown here
|
||||
// just make sure that an SQLException is thrown here
|
||||
m_pConnection->throwGenericSQLException( STR_INVALID_KEY_DESCRIPTOR_ERROR,static_cast<XTypeProvider*>(this) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user