User: kz      
Date: 2006/07/19 08:54:01

Modified:
   dba/connectivity/source/drivers/mysql/YTables.cxx

Log:
 INTEGRATION: CWS warningfixes02 (1.8.8); FILE MERGED
 2006/06/30 11:44:35 sb 1.8.8.1: #i66577# Made the code compile (warning-free) 
on a unxlngi6.pro GCC 4.1.1 Linux box.

File Changes:

Directory: /dba/connectivity/source/drivers/mysql/
==================================================

File [changed]: YTables.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mysql/YTables.cxx?r1=1.9&r2=1.10
Delta lines:  +2 -2
-------------------
--- YTables.cxx 10 Jul 2006 14:30:53 -0000      1.9
+++ YTables.cxx 19 Jul 2006 15:53:58 -0000      1.10
@@ -197,8 +197,8 @@
                ::rtl::OUString aSql = ::rtl::OUString::createFromAscii("DROP 
");
 
                Reference<XPropertySet> xProp(xObject,UNO_QUERY);
-               sal_Bool bIsView;
-               if(bIsView = (xProp.is() && 
::comphelper::getString(xProp->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE)))
 == ::rtl::OUString::createFromAscii("VIEW"))) // here we have a view
+               sal_Bool bIsView = xProp.is() && 
::comphelper::getString(xProp->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE)))
 == ::rtl::OUString::createFromAscii("VIEW");
+               if(bIsView) // here we have a view
                        aSql += ::rtl::OUString::createFromAscii("VIEW ");
                else
                        aSql += ::rtl::OUString::createFromAscii("TABLE ");




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

Reply via email to