summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2012-12-29 11:32:51 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-12-29 15:37:12 +0000
commit1d1abd28c2d4aab7c6ccfe94e49bd974fa5982bf (patch)
treef835f5ec856883203c5ad2ebc7802a2dd2394f15 /basctl
parent85f27205f41e7b6e63ea7fa0de9e3cb6a15b9bae (diff)
Remove last usage of RTL_CONSTASCII_STRINGPARAM in basctl
Change-Id: I5bc79699e794de47611d785b9ae48b4badf9f2f6 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1502 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/moduldl2.cxx4
-rw-r--r--basctl/source/basicide/scriptdocument.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx
index 324504253fc9..1fd2e476776f 100644
--- a/basctl/source/basicide/moduldl2.cxx
+++ b/basctl/source/basicide/moduldl2.cxx
@@ -288,7 +288,7 @@ sal_Bool CheckBox::EditingEntry( SvTreeListEntry* pEntry, Selection& )
// check, if Standard library
OUString aLibName = GetEntryText( pEntry, 0 );
- if ( aLibName.equalsIgnoreAsciiCaseAsciiL( RTL_CONSTASCII_STRINGPARAM( "Standard" ) ) )
+ if ( aLibName.equalsIgnoreAsciiCase( "Standard" ) )
{
ErrorBox( this, WB_OK | WB_DEF_OK, IDE_RESSTR(RID_STR_CANNOTCHANGENAMESTDLIB) ).Execute();
return false;
@@ -572,7 +572,7 @@ void LibPage::CheckButtons()
aInsertLibButton.Disable();
aDelButton.Disable();
}
- else if ( aLibName.equalsIgnoreAsciiCaseAsciiL( RTL_CONSTASCII_STRINGPARAM( "Standard" ) ) )
+ else if ( aLibName.equalsIgnoreAsciiCase( "Standard" ) )
{
aPasswordButton.Disable();
aNewLibButton.Enable();
diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx
index c1256b517d7f..b184974b0fc0 100644
--- a/basctl/source/basicide/scriptdocument.cxx
+++ b/basctl/source/basicide/scriptdocument.cxx
@@ -942,14 +942,14 @@ namespace basctl
Reference< XUriReference > xUriRef( xUriFac->parse( aLinkURL ), UNO_QUERY_THROW );
OUString aScheme = xUriRef->getScheme();
- if ( aScheme.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("file")) )
+ if ( aScheme.equalsIgnoreAsciiCase("file") )
{
aFileURL = aLinkURL;
}
- else if ( aScheme.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("vnd.sun.star.pkg")) )
+ else if ( aScheme.equalsIgnoreAsciiCase("vnd.sun.star.pkg") )
{
OUString aAuthority = xUriRef->getAuthority();
- if ( aAuthority.matchIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("vnd.sun.star.expand:")) )
+ if ( aAuthority.matchIgnoreAsciiCase("vnd.sun.star.expand:") )
{
OUString aDecodedURL( aAuthority.copy( sizeof ( "vnd.sun.star.expand:" ) - 1 ) );
aDecodedURL = ::rtl::Uri::decode( aDecodedURL, rtl_UriDecodeWithCharset, RTL_TEXTENCODING_UTF8 );