summaryrefslogtreecommitdiff
path: root/svx/workben
diff options
context:
space:
mode:
authorSzabolcs Dezsi <dezsiszabi@hotmail.com>2012-04-06 15:05:52 +0200
committerJan Holesovsky <kendy@suse.cz>2012-04-06 15:07:41 +0200
commit743f22045c4ec08c46c259fc0ba240194a391457 (patch)
treefaed42bb31c4ee767619eb5c3ebd4dec0a41fa03 /svx/workben
parent0c6ebe5d225d6a655f078977455cec6d0a3afa6e (diff)
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
Diffstat (limited to 'svx/workben')
-rw-r--r--svx/workben/msview/xmlconfig.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/workben/msview/xmlconfig.cxx b/svx/workben/msview/xmlconfig.cxx
index 12e64160fad5..703345582d4b 100644
--- a/svx/workben/msview/xmlconfig.cxx
+++ b/svx/workben/msview/xmlconfig.cxx
@@ -98,23 +98,23 @@ void ConfigHandler::errorThrow( const OUString& rErrorMessage ) throw (SAXExcept
ElementConfigType ConfigHandler::parseType( const OUString& sType ) throw (SAXException )
{
- if( sType.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("uint") ) )
+ if ( sType == "uint" )
{
return ECT_UINT;
}
- else if( sType.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("byte") ) )
+ else if ( sType == "byte" )
{
return ECT_BYTE;
}
- else if( sType.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("unistring") ) )
+ else if ( sType == "unistring" )
{
return ECT_UNISTRING;
}
- else if( sType.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("float") ) )
+ else if ( sType == "float" )
{
return ETC_FLOAT;
}
- else if( sType.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("hexdump") ) )
+ else if ( sType == "hexdump" )
{
}
else