User: hr      
Date: 06/06/19 20:06:09

Modified:
 /dba/dbaccess/source/ui/dlg/
  dbfindex.cxx

Log:
 INTEGRATION: CWS warnings01 (1.20.74); FILE MERGED
 2006/03/24 15:36:10 fs 1.20.74.1: #i57457# warning-free code (unxlngi6/.pro + 
unxsoli4.pro)

File Changes:

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

File [changed]: dbfindex.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/dbfindex.cxx?r1=1.20&r2=1.21
Delta lines:  +10 -10
---------------------
--- dbfindex.cxx        23 Sep 2005 12:29:30 -0000      1.20
+++ dbfindex.cxx        20 Jun 2006 03:06:06 -0000      1.21
@@ -200,6 +200,7 @@
                }
        }
 
+    (void)_bMustExist;
        DBG_ASSERT(!_bMustExist || (aSearch != _rList.end()), 
"ODbaseIndexDialog::implRemoveIndex : did not find the index!");
        return aReturn;
 }
@@ -236,7 +237,7 @@
 }
 
 //-------------------------------------------------------------------------
-IMPL_LINK( ODbaseIndexDialog, OKClickHdl, PushButton*, pButton )
+IMPL_LINK( ODbaseIndexDialog, OKClickHdl, PushButton*, /*pButton*/ )
 {
        // let all tables write their INF file
 
@@ -251,7 +252,7 @@
 }
 
 //-------------------------------------------------------------------------
-IMPL_LINK( ODbaseIndexDialog, AddClickHdl, PushButton*, pButton )
+IMPL_LINK( ODbaseIndexDialog, AddClickHdl, PushButton*, /*pButton*/ )
 {
        String aSelection = aLB_FreeIndexes.GetSelectEntry();
        String aTableName = aCB_Tables.GetText();
@@ -263,7 +264,7 @@
 }
 
 //-------------------------------------------------------------------------
-IMPL_LINK( ODbaseIndexDialog, RemoveClickHdl, PushButton*, pButton )
+IMPL_LINK( ODbaseIndexDialog, RemoveClickHdl, PushButton*, /*pButton*/ )
 {
        String aSelection = aLB_TableIndexes.GetSelectEntry();
        String aTableName = aCB_Tables.GetText();
@@ -275,7 +276,7 @@
 }
 
 //-------------------------------------------------------------------------
-IMPL_LINK( ODbaseIndexDialog, AddAllClickHdl, PushButton*, pButton )
+IMPL_LINK( ODbaseIndexDialog, AddAllClickHdl, PushButton*, /*pButton*/ )
 {
        sal_uInt16 nCnt = aLB_FreeIndexes.GetEntryCount();
        String aTableName = aCB_Tables.GetText();
@@ -289,7 +290,7 @@
 }
 
 //-------------------------------------------------------------------------
-IMPL_LINK( ODbaseIndexDialog, RemoveAllClickHdl, PushButton*, pButton )
+IMPL_LINK( ODbaseIndexDialog, RemoveAllClickHdl, PushButton*, /*pButton*/ )
 {
        sal_uInt16 nCnt = aLB_TableIndexes.GetEntryCount();
        String aTableName = aCB_Tables.GetText();
@@ -303,7 +304,7 @@
 }
 
 //-------------------------------------------------------------------------
-IMPL_LINK( ODbaseIndexDialog, OnListEntrySelected, ListBox*, NOTINTERESTEDIN )
+IMPL_LINK( ODbaseIndexDialog, OnListEntrySelected, ListBox*, 
/*NOTINTERESTEDIN*/ )
 {
        checkButtons();
        return 0;
@@ -390,10 +391,9 @@
        String aExt;
        const ::rtl::OUString *pBegin = aFolderContent.getConstArray();
        const ::rtl::OUString *pEnd   = pBegin + aFolderContent.getLength();
+       aURL.SetSmartProtocol(INET_PROT_FILE);
        for(;pBegin != pEnd;++pBegin)
        {
-               INetURLObject aURL;
-               aURL.SetSmartProtocol(INET_PROT_FILE);
                String aName;
                
::utl::LocalFileHelper::ConvertURLToPhysicalName(pBegin->getStr(),aName);
                aURL.SetSmartURL(aName);
@@ -574,9 +574,9 @@
         }
         catch (const Exception& e )
         {
-            e;  // make compiler happy
+            (void)e;  // make compiler happy
             // simply silent this. The strange algorithm here does a lot of 
things even if no files at all were
-            // created or access, so it's possible that the file we're trying 
to delete does not even exist,
+            // created or accessed, so it's possible that the file we're 
trying to delete does not even exist,
             // and this is a valid condition.
             // 2003-05-15 - #109677# - [EMAIL PROTECTED]
         }




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

Reply via email to