summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/WCopyTable.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-07-19 15:04:00 +0000
committerKurt Zenker <kz@openoffice.org>2006-07-19 15:04:00 +0000
commit09084c64c128c53b084c3738bf5ca8f1ef80ae1f (patch)
treecd865349387fab1797edca1a0a1a7812370c357f /dbaccess/source/ui/misc/WCopyTable.cxx
parente4b35df947011cc6a91232594b6d68b5ea4e358f (diff)
INTEGRATION: CWS warningfixes02 (1.45.4); FILE MERGED
2006/06/30 11:53:09 sb 1.45.4.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'dbaccess/source/ui/misc/WCopyTable.cxx')
-rw-r--r--dbaccess/source/ui/misc/WCopyTable.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/source/ui/misc/WCopyTable.cxx b/dbaccess/source/ui/misc/WCopyTable.cxx
index 1c2ae65db5e3..1d2fb11a0181 100644
--- a/dbaccess/source/ui/misc/WCopyTable.cxx
+++ b/dbaccess/source/ui/misc/WCopyTable.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: WCopyTable.cxx,v $
*
- * $Revision: 1.46 $
+ * $Revision: 1.47 $
*
- * last change: $Author: obo $ $Date: 2006-07-10 15:36:47 $
+ * last change: $Author: kz $ $Date: 2006-07-19 16:04:00 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -273,7 +273,7 @@ OCopyTableWizard::~OCopyTableWizard()
{
DBG_DTOR(OCopyTableWizard,NULL);
TabPage *pPage=0;
- while(pPage = GetPage(0))
+ while((pPage = GetPage(0)))
{
RemovePage( pPage );
delete pPage;
@@ -426,8 +426,8 @@ IMPL_LINK( OCopyTableWizard, ImplOKHdl, OKButton*, EMPTYARG )
case WIZARD_DEF_DATA:
case WIZARD_DEF:
{
- sal_Bool bOnFirstPage;
- if ( bOnFirstPage = (GetCurLevel() == 0) )
+ sal_Bool bOnFirstPage = GetCurLevel() == 0;
+ if ( bOnFirstPage )
{
// we came from the first page so we have to clear
// all column information already collected