From 2b1758a2dc82200468905f7865468972a691b6a3 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Fri, 10 Feb 2012 23:00:44 +0900 Subject: Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) to equalsAscii(...) --- sfx2/source/view/viewprn.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2/source/view') diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx index a5ffa216cde5..ddffcc2393de 100644 --- a/sfx2/source/view/viewprn.cxx +++ b/sfx2/source/view/viewprn.cxx @@ -610,7 +610,7 @@ void SfxViewShell::ExecPrint( const uno::Sequence < beans::PropertyValue >& rPro const beans::PropertyValue* pVal = rProps.getConstArray(); for( sal_Int32 i = 0; i < rProps.getLength(); i++ ) { - if( pVal[i].Name.equalsAscii( "PrinterName" ) ) + if( pVal[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("PrinterName")) ) { rtl::OUString aPrinterName; pVal[i].Value >>= aPrinterName; -- cgit