From 03591233c18c90158b3567f24fa332cd7c52a7ee Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sat, 18 Feb 2012 23:18:57 +0900 Subject: Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("...")) to equalsIgnoreAsciiCaseAscii("...") --- dbaccess/source/ui/misc/WCopyTable.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbaccess') diff --git a/dbaccess/source/ui/misc/WCopyTable.cxx b/dbaccess/source/ui/misc/WCopyTable.cxx index c1d943c3a354..f5eea9010188 100644 --- a/dbaccess/source/ui/misc/WCopyTable.cxx +++ b/dbaccess/source/ui/misc/WCopyTable.cxx @@ -1430,7 +1430,7 @@ bool OCopyTableWizard::supportsViews( const Reference< XConnection >& _rxConnect while ( xRs->next() ) { ::rtl::OUString sValue = xRow->getString( 1 ); - if ( !xRow->wasNull() && sValue.equalsIgnoreAsciiCaseAscii( "View" ) ) + if ( !xRow->wasNull() && sValue.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("View")) ) { bSupportsViews = true; break; -- cgit