summaryrefslogtreecommitdiff
path: root/padmin
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-21 14:05:24 +0200
committerNoel Grandin <noel@peralex.com>2013-11-22 08:07:18 +0200
commit2241fd5302c1ec83c8cbaa2422a477628a569aab (patch)
treea1e29ab709aaa0cfda59382db1ef84d25a238908 /padmin
parent6266efb0fe8cd52ee908d5d36f1de322735fe8bc (diff)
remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::equalsIgnoreAsciiL
Convert code like: aStr.equalsIgnoreAsciiCaseL(RTL_CONSTASCII_STRINGPARAM("XGRAD_SEQ_BEGIN")) to: aStr.equalsIgnoreAsciiCase("XGRAD_SEQ_BEGIN") which compiles down to the same code. Change-Id: Ia69289d853d292b2f27b68863cb6f6ecdbf1a71e
Diffstat (limited to 'padmin')
-rw-r--r--padmin/source/adddlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/padmin/source/adddlg.cxx b/padmin/source/adddlg.cxx
index 379d73c418c7..25d006f60cc5 100644
--- a/padmin/source/adddlg.cxx
+++ b/padmin/source/adddlg.cxx
@@ -586,7 +586,7 @@ APOldPrinterPage::APOldPrinterPage( AddPrinterDialog* pParent )
aValue = aConfig.ReadKey( "Orientation", aDefOrientation );
if (!aValue.isEmpty())
- aInfo.m_eOrientation = aValue.equalsIgnoreAsciiCaseL(RTL_CONSTASCII_STRINGPARAM("landscape")) ? orientation::Landscape : orientation::Portrait;
+ aInfo.m_eOrientation = aValue.equalsIgnoreAsciiCase("landscape") ? orientation::Landscape : orientation::Portrait;
int nGroupKeys = aConfig.GetKeyCount();
for( int nPPDKey = 0; nPPDKey < nGroupKeys; nPPDKey++ )
{