Tag: cws_src680_sb82
User: sb      
Date: 2007-11-07 12:55:38+0000
Modified:
   dba/dbaccess/source/ui/browser/brwctrlr.cxx

Log:
 #i83412# Make sure variables are not considered by compiler as used 
potentially uninitialized.

File Changes:

Directory: /dba/dbaccess/source/ui/browser/
===========================================

File [changed]: brwctrlr.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/brwctrlr.cxx?r1=1.100&r2=1.100.60.1
Delta lines:  +5 -5
-------------------
--- brwctrlr.cxx        2007-07-31 14:01:29+0000        1.100
+++ brwctrlr.cxx        2007-11-07 12:55:36+0000        1.100.60.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: brwctrlr.cxx,v $
  *
- *  $Revision: 1.100 $
+ *  $Revision: 1.100.60.1 $
  *
- *  last change: $Author: hr $ $Date: 2007/07/31 14:01:29 $
+ *  last change: $Author: sb $ $Date: 2007/11/07 12:55:36 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -1902,7 +1902,7 @@
                                break;
 
                        ::rtl::OUString sOldSort = m_xParser->getOrder();
-                       sal_Bool bParserSuccess;
+                       sal_Bool bParserSuccess = sal_False;
                        HANDLE_SQL_ERRORS(
                                m_xParser->setOrder(::rtl::OUString()); 
m_xParser->appendOrderByColumn(xField, bSortUp),
                                bParserSuccess,
@@ -1953,7 +1953,7 @@
                                DO_SAFE( (bHaving ? 
m_xParser->setHavingClause(::rtl::OUString()) : 
m_xParser->setFilter(::rtl::OUString())), "SbaXDataBrowserController::Execute : 
caught an exception while resetting the new filter !" );
                        }
 
-                       sal_Bool bParserSuccess;
+                       sal_Bool bParserSuccess = sal_False;
 
 
                        if ( bHaving )




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to