User: hr      
Date: 06/06/19 19:53:42

Modified:
 /dba/dbaccess/source/ui/app/
  AppControllerDnD.cxx

Log:
 INTEGRATION: CWS warnings01 (1.14.22); FILE MERGED
 2006/03/24 15:35:59 fs 1.14.22.1: #i57457# warning-free code (unxlngi6/.pro + 
unxsoli4.pro)

File Changes:

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

File [changed]: AppControllerDnD.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppControllerDnD.cxx?r1=1.14&r2=1.15
Delta lines:  +14 -6
--------------------
--- AppControllerDnD.cxx        3 Jan 2006 16:15:19 -0000       1.14
+++ AppControllerDnD.cxx        20 Jun 2006 02:53:40 -0000      1.15
@@ -317,7 +317,6 @@
        Reference< XHierarchicalNameContainer > xHierarchyName( _rxNames, 
UNO_QUERY );
        if ( _rxNames.is() )
        {
-               bool bConfirm = true;
                ByteString sDialogPosition;
                svtools::QueryDeleteResult_Impl eResult = _bConfirm ? 
svtools::QUERYDELETE_YES : svtools::QUERYDELETE_ALL;
 
@@ -374,8 +373,7 @@
                     // now that we removed the element, care for all it's 
child elements
                     // which may also be a part of the list
                     // #i33353# - 2004-09-27 - [EMAIL PROTECTED]
-                    sal_Int32 nLastCharPos = aThisRound->getLength() - 1;
-                    OSL_ENSURE( nLastCharPos >= 0, 
"OApplicationController::deleteObjects: empty name?" );
+                    OSL_ENSURE( aThisRound->getLength() - 1 >= 0, 
"OApplicationController::deleteObjects: empty name?" );
                                        ::rtl::OUStringBuffer 
sSmallestSiblingName( *aThisRound );
                     sSmallestSiblingName.append( (sal_Unicode)( '/' + 1) );
 
@@ -446,6 +444,8 @@
                case E_REPORT:
                        deleteObjects( E_REPORT, aList, true );
                        break;
+        case E_NONE:
+            break;
                }
        }
 }
@@ -543,6 +543,8 @@
                                        }
                                }
                                break;
+            default:
+                break;
                }
        }
        catch(const Exception&)
@@ -570,6 +572,7 @@
 // 
-----------------------------------------------------------------------------
 void OApplicationController::impl_initialize( const Sequence< Any >& 
aArguments )
 {
+    (void)aArguments;
 #if OSL_DEBUG_LEVEL > 0
        const Any* pIter = aArguments.getConstArray();
        const Any* pEnd   = pIter + aArguments.getLength();
@@ -639,7 +642,8 @@
                                xNameAccess = xSupp->getTables();
                        break;
                }
-
+        case E_NONE:
+            break;
        }
 
     SharedConnection xConnection;
@@ -702,6 +706,8 @@
                                }
                        }
                                break;
+            default:
+                break;
                }
 
                // the owner ship goes to ODataClipboards
@@ -898,6 +904,8 @@
                case E_QUERY:
                        _rFormatIds.push_back(SOT_FORMATSTR_ID_DBACCESS_QUERY);
                        break;
+        default:
+            break;
        }
 }
 // 
-----------------------------------------------------------------------------
@@ -918,7 +926,7 @@
     return m_aTableCopyHelper.copyTagTable( _rDesc, _bCheck, xConnection );
 }
 // 
-----------------------------------------------------------------------------
-IMPL_LINK( OApplicationController, OnAsyncDrop, void*, NOTINTERESTEDIN )
+IMPL_LINK( OApplicationController, OnAsyncDrop, void*, /*NOTINTERESTEDIN*/ )
 {
        m_nAsyncDrop = 0;
        ::vos::OGuard aSolarGuard( Application::GetSolarMutex() );




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

Reply via email to