User: hr      
Date: 06/06/19 20:26:54

Modified:
 /dba/dbaccess/source/ui/querydesign/
  QueryTableView.cxx

Log:
 INTEGRATION: CWS warnings01 (1.35.72); FILE MERGED
 2006/05/24 00:00:20 sb 1.35.72.2: RESYNC: (1.35-1.36); FILE MERGED
 2006/03/24 15:36:26 fs 1.35.72.1: #i57457# warning-free code (unxlngi6/.pro + 
unxsoli4.pro)

File Changes:

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

File [changed]: QueryTableView.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/QueryTableView.cxx?r1=1.36&r2=1.37
Delta lines:  +2 -8
-------------------
--- QueryTableView.cxx  19 Apr 2006 13:24:11 -0000      1.36
+++ QueryTableView.cxx  20 Jun 2006 03:26:52 -0000      1.37
@@ -234,7 +234,7 @@
                // redraw
                _pConnection->RecalcLines();
                // force an invalidation of the bounding rectangle
-               _pConnection->Invalidate();
+               _pConnection->InvalidateConnection();
 
                _pView->Invalidate(INVALIDATE_NOCHILDREN);
        }
@@ -327,8 +327,6 @@
        OTableWindowMapIterator aIter = GetTabWinMap()->find(rName);
        while(aIter != GetTabWinMap()->end())
        {
-               OTableWindow* pWin = aIter->second;
-
                String aNewName;
                aNewName = rName;
                aNewName += '_';
@@ -789,7 +787,7 @@
                delete pData;
 }
 
//------------------------------------------------------------------------------
-::std::vector<OTableConnection*>::const_iterator 
OQueryTableView::RemoveConnection( OTableConnection* _pConnection,sal_Bool 
_bDelete )
+::std::vector<OTableConnection*>::const_iterator 
OQueryTableView::RemoveConnection( OTableConnection* _pConnection,sal_Bool 
/*_bDelete*/ )
 {
        DBG_CHKTHIS(OQueryTableView,NULL);
        DBG_ASSERT(_pConnection->ISA(OQueryTableConnection), 
"OQueryTableView::RemoveConnection : Connection ist vom falschen Typ !");
@@ -829,7 +827,6 @@
 sal_Bool OQueryTableView::FindTableFromField(const String& rFieldName, 
OTableFieldDescRef& rInfo, sal_uInt16& rCnt)
 {
        DBG_CHKTHIS(OQueryTableView,NULL);
-       sal_Bool bRet = sal_False;
        rCnt = 0;
        OTableWindowMap::const_iterator aIter = GetTabWinMap()->begin();
        for(;aIter != GetTabWinMap()->end();++aIter)
@@ -954,8 +951,6 @@
                        m_pLastFocusTabWin = NULL;
 
                // Verbindungen, die zum Fenster gehoeren, einsammeln und der 
UndoAction uebergeben
-               ::std::vector< OTableConnectionData*>* pTabConnDataList = 
m_pView->getController()->getTableConnectionData();
-
                sal_Int16 nCnt = 0;
                const ::std::vector<OTableConnection*>* pTabConList = 
getTableConnections();
                ::std::vector<OTableConnection*>::const_iterator aIter2 = 
pTabConList->begin();
@@ -1032,7 +1027,6 @@
                        ::std::vector<OTableConnection*>* pTableCon = 
pUndoAction->GetTabConnList();
                        ::std::vector<OTableConnection*>::iterator aIter = 
pTableCon->begin();
 
-                       const ::std::vector<OTableConnection*>* pOwnList = 
getTableConnections();
                        for(;aIter != pTableCon->end();++aIter)
                                addConnection(*aIter); // add all connections 
from the undo action
 




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

Reply via email to