summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-20 13:18:33 +0200
committerNoel Grandin <noel@peralex.com>2013-11-20 13:56:08 +0200
commitacebbee971136e6ee0a7bc75bd57d937d6e1c295 (patch)
treef56fec189343e1d9297918037b55263733243d7b /extensions
parentd894fee80e40519cb579987b95cb3d19345dfa71 (diff)
remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL calls
Convert code like: if (aByteStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aByteStr.startsWith("rem")) Change-Id: I09e40b3fdc87d59a8176c2a5f39cc6aa5cf5a576
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/plugin/unx/unxmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/plugin/unx/unxmgr.cxx b/extensions/source/plugin/unx/unxmgr.cxx
index 2ee2b4964b7d..ca16599e7c7f 100644
--- a/extensions/source/plugin/unx/unxmgr.cxx
+++ b/extensions/source/plugin/unx/unxmgr.cxx
@@ -66,7 +66,7 @@ static bool CheckPlugin( const OString& rPath, list< PluginDescription* >& rDesc
}
OString aBaseName = rPath.copy(nPos+1);
- if (aBaseName.equalsL(RTL_CONSTASCII_STRINGPARAM("libnullplugin.so")))
+ if (aBaseName.startsWith("libnullplugin.so"))
{
#if OSL_DEBUG_LEVEL > 1
fprintf( stderr, "don't like %s\n", aBaseName.getStr() );