summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-23 22:41:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-24 15:27:28 +0200
commit892455e72a57d890918f37bd2b32d6c5000ba6ff (patch)
treea15e0b73f4747a56840f3f457ca786bbbeb759aa /fpicker
parent6390d2c52b75b2868d5ee98863a0af4f103c12e5 (diff)
Simplify uses of comphelper::string::equals with constant argument
Change-Id: I7b12dd04f6811f71b776ee9168703434217b59c8
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/iodlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 9f43429424b9..824ef1e6243c 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -997,7 +997,7 @@ IMPL_LINK( SvtFileDialog, OpenHdl_Impl, void*, pVoid )
&& _pImp->_pCbAutoExtension // auto extension is enabled in general
&& _pImp->_pCbAutoExtension->IsChecked() // auto extension is really to be used
&& !GetDefaultExt().isEmpty() // there is a default extension
- && !comphelper::string::equals(GetDefaultExt(), '*') // the default extension is not "all"
+ && GetDefaultExt() != "*" // the default extension is not "all"
&& !( FILEDLG_MODE_SAVE == _pImp->_eMode // we're saving a file
&& _pFileView->GetSelectionCount() // there is a selected file in the file view -> it will later on
) // (in SvtFileDialog::GetPathList) be taken as file to save to