diff options
Diffstat (limited to 'compilerplugins/clang/passstuffbyref.cxx')
-rw-r--r-- | compilerplugins/clang/passstuffbyref.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/passstuffbyref.cxx b/compilerplugins/clang/passstuffbyref.cxx index 6d98dbf90341..673b72b32f8e 100644 --- a/compilerplugins/clang/passstuffbyref.cxx +++ b/compilerplugins/clang/passstuffbyref.cxx @@ -103,7 +103,7 @@ bool PassStuffByRef::isFat(QualType type, std::string * name) { } *name = type.getUnqualifiedType().getCanonicalType().getAsString(); if (*name == "class rtl::OUString" || *name == "class rtl::OString" - || name->find("class com::sun::star::uno::Sequence") == 0) + || name->compare("class com::sun::star::uno::Sequence") == 0) { return true; } |