diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-19 11:32:06 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-19 11:32:20 +0100 |
commit | 4c0c23af21db0b72541674c2352df04f48774e81 (patch) | |
tree | fe5697fbc7f793de73531e50711c5b39d9825923 /cui | |
parent | coverity#735374 Copy-paste error (diff) | |
download | core-4c0c23af21db0b72541674c2352df04f48774e81.tar.gz core-4c0c23af21db0b72541674c2352df04f48774e81.zip |
Simplify equalsIgnoreAsciiCaseAscii[L] calls
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 86cdb0d125a6..9793bb4b510f 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -115,7 +115,7 @@ namespace { const OUString &rDesktopEnvironment = Application::GetDesktopEnvironment(); - if ( rDesktopEnvironment.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("kde4")) ) + if ( rDesktopEnvironment.equalsIgnoreAsciiCase("kde4") ) { #ifdef ENABLE_KDE4 return OUString("com.sun.star.ui.dialogs.KDE4FilePicker" ); @@ -123,7 +123,7 @@ namespace return OUString(); #endif } - else if ( rDesktopEnvironment.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("kde")) ) + else if ( rDesktopEnvironment.equalsIgnoreAsciiCase("kde") ) { #ifdef ENABLE_KDE return OUString("com.sun.star.ui.dialogs.KDEFilePicker"); @@ -131,7 +131,7 @@ namespace return OUString(); #endif } - else if ( rDesktopEnvironment.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("tde")) ) + else if ( rDesktopEnvironment.equalsIgnoreAsciiCase("tde") ) { #ifdef ENABLE_TDE return OUString("com.sun.star.ui.dialogs.TDEFilePicker"); |