[Libreoffice-commits] core.git: dbaccess/source

Stephan Bergmann sbergman at redhat.com
Thu Jun 6 08:26:57 PDT 2013


 dbaccess/source/ui/dlg/generalpage.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a4c3dc55951dd54882be9eac2c8f6057fa184f07
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jun 6 17:26:26 2013 +0200

    Fix previous fix
    
    Change-Id: I2d7ea38b743d78327fd19886019c1106bc1316d6

diff --git a/dbaccess/source/ui/dlg/generalpage.cxx b/dbaccess/source/ui/dlg/generalpage.cxx
index e2b325a..7179adc 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 ];


More information about the Libreoffice-commits mailing list