summaryrefslogtreecommitdiffstats
path: root/sfx2
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-10 23:00:44 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-10 23:01:07 +0900
commit2b1758a2dc82200468905f7865468972a691b6a3 (patch)
treec6f43ff867ccd1f73b86ea8ad8f88429d16807e7 /sfx2
parentfdo#45330 Improving layout of Confirm File Format dialog (diff)
downloadcore-2b1758a2dc82200468905f7865468972a691b6a3.tar.gz
core-2b1758a2dc82200468905f7865468972a691b6a3.zip
Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) to equalsAscii(...)
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/viewprn.cxx2
1 files changed, 1 insertions, 1 deletions
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;