summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-08-02 15:14:02 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-08-02 15:14:02 +0000
commit7d5b8fe910ed481e48d1420e0601d91efaf575b2 (patch)
treeea8a4becd689895cbce2a36f3f19b1fbdb0b2b13 /dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
parent171ca67c0e8f120366453ad6a1cb10274dc97246 (diff)
INTEGRATION: CWS insight01 (1.55.20); FILE MERGED
2004/07/15 10:58:35 oj 1.55.20.3: add chkthis macros 2004/06/01 09:01:58 oj 1.55.20.2: RESYNC: (1.55-1.56); FILE MERGED 2004/05/27 11:23:57 oj 1.55.20.1: #i24931# deactivate cell after select the column
Diffstat (limited to 'dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index 6d7add825c08..5430bcbc25f1 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: SelectionBrowseBox.cxx,v $
*
- * $Revision: 1.56 $
+ * $Revision: 1.57 $
*
- * last change: $Author: obo $ $Date: 2004-03-15 12:43:58 $
+ * last change: $Author: hr $ $Date: 2004-08-02 16:14:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -349,6 +349,7 @@ namespace
}
}
m_pBrowseBox->SelectColumnId( GetCurItemId() );
+ m_pBrowseBox->DeactivateCell();
}
}
@@ -1886,7 +1887,7 @@ void OSelectionBrowseBox::AddOrder( const OTableFieldDescRef& rInfo, const EOrde
if(!m_bOrderByUnRelated)
pEntry->SetVisible(sal_True);
pEntry->SetOrderDir( eDir );
- nPos = getFields().end() - aIter;
+ nPos = aIter - getFields().begin();
break;
}
}