basctl/source/basicide/moduldl2.cxx       |    4 ++--
 basctl/source/basicide/scriptdocument.cxx |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 1d1abd28c2d4aab7c6ccfe94e49bd974fa5982bf
Author: Marcos Paulo de Souza <[email protected]>
Date:   Sat Dec 29 11:32:51 2012 -0200

    Remove last usage of RTL_CONSTASCII_STRINGPARAM in basctl
    
    Change-Id: I5bc79699e794de47611d785b9ae48b4badf9f2f6
    Signed-off-by: Marcos Paulo de Souza <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/1502
    Reviewed-by: Olivier Hallot <[email protected]>
    Tested-by: Olivier Hallot <[email protected]>

diff --git a/basctl/source/basicide/moduldl2.cxx 
b/basctl/source/basicide/moduldl2.cxx
index 3245042..1fd2e47 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 c1256b5..b184974 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 );
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to