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>())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user