diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-02-10 23:00:44 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-02-10 23:01:07 +0900 |
commit | 2b1758a2dc82200468905f7865468972a691b6a3 (patch) | |
tree | c6f43ff867ccd1f73b86ea8ad8f88429d16807e7 /sfx2/source/view | |
parent | 05720546215976d8d42fa7321f455c641147db9f (diff) |
Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) to equalsAscii(...)
Diffstat (limited to 'sfx2/source/view')
-rw-r--r-- | sfx2/source/view/viewprn.cxx | 2 |
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; |