diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-05 11:32:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 12:58:12 +0200 |
commit | ef90021abe3735fba57145598fd7c3d359d2718e (patch) | |
tree | 9da3ef32700774f56e0225ea28f3bc4ceaffe80c /padmin | |
parent | 0a9ef5a18e148c7a5c9a088e153a7873d1564841 (diff) |
convert OUString !compareToAscii to equalsAscii
Convert code like
if( ! aStr.compareToAscii("XXX") )
to
if( aStr.equalsAscii("XXX") )
which is both clearer and faster.
Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
Diffstat (limited to 'padmin')
-rw-r--r-- | padmin/source/cmddlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/padmin/source/cmddlg.cxx b/padmin/source/cmddlg.cxx index 8756fa613690..8e57395432b2 100644 --- a/padmin/source/cmddlg.cxx +++ b/padmin/source/cmddlg.cxx @@ -292,7 +292,7 @@ RTSCommandPage::RTSCommandPage( RTSDialog* pParent ) : m_aPdfDirectoryText.Show( sal_True ); m_aConfigureBox.SelectEntryPos( m_nPdfEntry ); } - else if( ! aToken.compareToAscii( "external_dialog" ) ) + else if( aToken.equalsAscii( "external_dialog" ) ) { m_aExternalCB.Check(); m_bWasExternalDialog = true; |