basic/source/classes/sbunoobj.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 47d813eabb5c8bca771c20cc248a136a98e5876c Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Wed Oct 23 08:36:23 2019 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Wed Oct 23 10:49:53 2019 +0200 Remove check that is redundant ...since 96710f8e466d44047ea4ac9cb8c70dc7664f5c73 "convert OUString::match to OUString::endsWith" Change-Id: Ifd08feede5908e6cc41b25bfe9f8bde6c6d6930b Reviewed-on: https://gerrit.libreoffice.org/81362 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 2834ae87234c..0c938d6c475e 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -1698,8 +1698,7 @@ bool checkUnoObjectType(SbUnoObject& rUnoObj, const OUString& rClass) } // match interface name with passed class name - if ( (aClassName.getLength() <= aInterfaceName.getLength()) && - aInterfaceName.endsWithIgnoreAsciiCase( aClassName ) ) + if ( aInterfaceName.endsWithIgnoreAsciiCase( aClassName ) ) { bResult = true; break; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits