summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 14:19:30 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 14:19:30 +0000
commit60660388c05022763465d3edd66767f717873996 (patch)
tree0625d4daf6ac74fffe43001f49696da9e9104288 /dbaccess
parent3db4b07a0aecdc1c65801dba386f115db56de4fe (diff)
INTEGRATION: CWS hr50 (1.20.96); FILE MERGED
2008/04/11 12:26:38 hr 1.20.96.1: #i86574#: fix warning (gcc-4.2.3)
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/browser/dsEntriesNoExp.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/dbaccess/source/ui/browser/dsEntriesNoExp.cxx b/dbaccess/source/ui/browser/dsEntriesNoExp.cxx
index 4f8324a00cf6..a5532f9973ce 100644
--- a/dbaccess/source/ui/browser/dsEntriesNoExp.cxx
+++ b/dbaccess/source/ui/browser/dsEntriesNoExp.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: dsEntriesNoExp.cxx,v $
- * $Revision: 1.21 $
+ * $Revision: 1.22 $
*
* This file is part of OpenOffice.org.
*
@@ -132,8 +132,9 @@ void SbaTableQueryBrowser::select(SvLBoxEntry* _pEntry, sal_Bool _bSelect)
static_cast<OBoldListboxString*>(pTextItem)->emphasize(_bSelect);
m_pTreeModel->InvalidateEntry(_pEntry);
}
- else
+ else {
DBG_ERROR("SbaTableQueryBrowser::select: invalid entry!");
+ }
}
//------------------------------------------------------------------------------
@@ -151,8 +152,9 @@ sal_Bool SbaTableQueryBrowser::isSelected(SvLBoxEntry* _pEntry) const
SvLBoxItem* pTextItem = _pEntry ? _pEntry->GetFirstItem(SV_ITEM_ID_BOLDLBSTRING) : NULL;
if (pTextItem)
return static_cast<OBoldListboxString*>(pTextItem)->isEmphasized();
- else
+ else {
DBG_ERROR("SbaTableQueryBrowser::isSelected: invalid entry!");
+ }
return sal_False;
}
//------------------------------------------------------------------------------