From d6bc02f8c4cd0f50f0a2631ac7634dab408efc1f Mon Sep 17 00:00:00 2001 From: Szabolcs Dezsi Date: Fri, 6 Apr 2012 19:49:53 +0200 Subject: Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator --- xmlhelp/source/cxxhelp/provider/urlparameter.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xmlhelp') diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.hxx b/xmlhelp/source/cxxhelp/provider/urlparameter.hxx index 67efe6efb732..63b8dd839865 100644 --- a/xmlhelp/source/cxxhelp/provider/urlparameter.hxx +++ b/xmlhelp/source/cxxhelp/provider/urlparameter.hxx @@ -126,10 +126,10 @@ namespace chelp { Databases* pDatabases ) throw( com::sun::star::ucb::IllegalIdentifierException ); - bool isPicture() const { return m_aModule.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("picture")); } - bool isActive() const { return !m_aActive.isEmpty() && m_aActive.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("true")); } + bool isPicture() const { return m_aModule == "picture"; } + bool isActive() const { return !m_aActive.isEmpty() && m_aActive == "true"; } bool isQuery() const { return m_aId.isEmpty() && !m_aQuery.isEmpty(); } - bool isEntryForModule() const { return m_aId.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("start")) || m_bStart; } + bool isEntryForModule() const { return m_aId == "start" || m_bStart; } bool isFile() const { return !m_aId.isEmpty(); } bool isModule() const { return m_aId.isEmpty() && !m_aModule.isEmpty(); } bool isRoot() const { return m_aModule.isEmpty(); } -- cgit