User: kz Date: 2006/07/19 09:04:48 Modified: dba/dbaccess/source/ui/misc/WNameMatch.cxx
Log: INTEGRATION: CWS warningfixes02 (1.17.6); FILE MERGED 2006/06/30 11:53:09 sb 1.17.6.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box. File Changes: Directory: /dba/dbaccess/source/ui/misc/ ======================================== File [changed]: WNameMatch.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/WNameMatch.cxx?r1=1.17&r2=1.18 Delta lines: +4 -4 ------------------- --- WNameMatch.cxx 20 Jun 2006 03:22:22 -0000 1.17 +++ WNameMatch.cxx 19 Jul 2006 16:04:46 -0000 1.18 @@ -233,8 +233,8 @@ // ----------------------------------------------------------------------- IMPL_LINK( OWizNameMatching, ButtonClickHdl, Button *, pButton ) { - SvLBoxEntry* pEntry = NULL; - if(pEntry = m_CTRL_LEFT.FirstSelected()) + SvLBoxEntry* pEntry = m_CTRL_LEFT.FirstSelected(); + if(pEntry) { sal_Int32 nPos = m_CTRL_LEFT.GetModel()->GetAbsPos(pEntry); if(pButton == &m_ibColumn_up && nPos) @@ -264,8 +264,8 @@ //------------------------------------------------------------------------------ IMPL_LINK( OWizNameMatching, RightButtonClickHdl, Button *, pButton ) { - SvLBoxEntry* pEntry = NULL; - if(pEntry = m_CTRL_RIGHT.FirstSelected()) + SvLBoxEntry* pEntry = m_CTRL_RIGHT.FirstSelected(); + if(pEntry) { sal_Int32 nPos = m_CTRL_RIGHT.GetModel()->GetAbsPos(pEntry); if(pButton == &m_ibColumn_up_right && nPos) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
