diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-06-06 17:26:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-06-06 17:26:26 +0200 |
commit | a4c3dc55951dd54882be9eac2c8f6057fa184f07 (patch) | |
tree | 5de3a2b596a3d1ad3e0e1b41f409d6e5c0343a53 /dbaccess | |
parent | fb835e0e8a99caeb7dbb79bf6d935c97d291114c (diff) |
Fix previous fix
Change-Id: I2d7ea38b743d78327fd19886019c1106bc1316d6
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/generalpage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/dlg/generalpage.cxx b/dbaccess/source/ui/dlg/generalpage.cxx index e2b325a832b3..7179adcadaae 100644 --- a/dbaccess/source/ui/dlg/generalpage.cxx +++ b/dbaccess/source/ui/dlg/generalpage.cxx @@ -331,7 +331,7 @@ namespace dbaui sal_uInt16 nSelected = _pBox->GetSelectEntryPos(); if (nSelected >= m_aURLPrefixes.size() ) { - SAL_WARN("dbaui.OGeneralPage", "Got out-of-range value '" << nSelected << "' from the DatasourceType selection ListBox's GetSelectEntryPos(): " << ((nSelected < 0) ? "negative" : "no corresponding URL prefix") ); + SAL_WARN("dbaui.OGeneralPage", "Got out-of-range value '" << nSelected << "' from the DatasourceType selection ListBox's GetSelectEntryPos(): no corresponding URL prefix"); return 0L; } const OUString sURLPrefix = m_aURLPrefixes[ nSelected ]; |