diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-23 08:36:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-23 10:49:53 +0200 |
commit | 47d813eabb5c8bca771c20cc248a136a98e5876c (patch) | |
tree | 7847792a1e30825e9dc82d68142f9a7e56642a1d /basic | |
parent | adbaa625acc14e2b814cf5d88267889e6193145f (diff) |
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 <sbergman@redhat.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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; |