From 892455e72a57d890918f37bd2b32d6c5000ba6ff Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 23 Jun 2015 22:41:22 +0200 Subject: Simplify uses of comphelper::string::equals with constant argument Change-Id: I7b12dd04f6811f71b776ee9168703434217b59c8 --- fpicker/source/office/iodlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpicker') 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 -- cgit