summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-20 16:36:51 +0200
committerNoel Grandin <noel@peralex.com>2013-11-20 16:38:28 +0200
commitd45483489513692be77a61cf343663e839483204 (patch)
tree85d3a47fa95a529e4f6d2d12b375a438513c3e9d /idl
parentfa604beee3e8ca26bba7c1d681bf83a44638b835 (diff)
Revert "remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL calls"
This reverts commit acebbee971136e6ee0a7bc75bd57d937d6e1c295. I mistakenly converted OUString::equalsL calls to OUString::startsWith calls.
Diffstat (limited to 'idl')
-rw-r--r--idl/source/objects/slot.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx
index fd0d51bdb8d3..4d78be88dbc8 100644
--- a/idl/source/objects/slot.cxx
+++ b/idl/source/objects/slot.cxx
@@ -1090,7 +1090,7 @@ void SvMetaSlot::WriteSlotStubs( const OString& rShellName,
OString aMethodName( GetExecMethod() );
if ( !aMethodName.isEmpty() &&
- !aMethodName.startsWith("NoExec") )
+ !aMethodName.equalsL(RTL_CONSTASCII_STRINGPARAM("NoExec")) )
{
sal_Bool bIn = sal_False;
for( size_t n = 0; n < rList.size(); n++ )
@@ -1115,7 +1115,7 @@ void SvMetaSlot::WriteSlotStubs( const OString& rShellName,
aMethodName = GetStateMethod();
if (!aMethodName.isEmpty() &&
- !aMethodName.startsWith("NoState"))
+ !aMethodName.equalsL(RTL_CONSTASCII_STRINGPARAM("NoState")))
{
sal_Bool bIn = sal_False;
for ( size_t n=0; n < rList.size(); n++ )
@@ -1252,7 +1252,7 @@ void SvMetaSlot::WriteSlot( const OString& rShellName, sal_uInt16 nCount,
// write ExecMethod, with standard name if not specified
if( !GetExecMethod().isEmpty() &&
- !GetExecMethod().startsWith("NoExec"))
+ !GetExecMethod().equalsL(RTL_CONSTASCII_STRINGPARAM("NoExec")))
{
rOutStm << "SFX_STUB_PTR(" << rShellName.getStr() << ','
<< GetExecMethod().getStr() << ')';
@@ -1263,7 +1263,7 @@ void SvMetaSlot::WriteSlot( const OString& rShellName, sal_uInt16 nCount,
// write StateMethod, with standard name if not specified
if( !GetStateMethod().isEmpty() &&
- !GetStateMethod().startsWith("NoState"))
+ !GetStateMethod().equalsL(RTL_CONSTASCII_STRINGPARAM("NoState")))
{
rOutStm << "SFX_STUB_PTR(" << rShellName.getStr() << ','
<< GetStateMethod().getStr() << ')';