diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-05-10 09:38:56 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-05-10 09:38:56 +0000 |
commit | 83e202a050e3392f72e2cabc5d1a35d75141a818 (patch) | |
tree | 0dffa6dacac7dfa14a7f07f57b6547d8fd758821 /dbaccess | |
parent | dc0a1674098823ba3daf3c9c945de853022beb73 (diff) |
INTEGRATION: CWS dba23a (1.77.28); FILE MERGED
2007/02/26 11:48:19 fs 1.77.28.1: remove unused code
Issue number: #i74804#
Submitted by: jnavrati@openoffice.org
Reviewed by: frank.schoenheit@sun.com
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx index 4c47497269d1..a08355c1a448 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx @@ -4,9 +4,9 @@ * * $RCSfile: SelectionBrowseBox.cxx,v $ * - * $Revision: 1.77 $ + * $Revision: 1.78 $ * - * last change: $Author: kz $ $Date: 2006-12-13 16:53:47 $ + * last change: $Author: kz $ $Date: 2007-05-10 10:38:56 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1566,24 +1566,6 @@ void OSelectionBrowseBox::DeleteFields(const String& rAliasName) } //------------------------------------------------------------------------------ -void OSelectionBrowseBox::SetColWidth() -{ - DBG_CHKTHIS(OSelectionBrowseBox,NULL); - // Spaltenbreite ermitteln - sal_uInt16 nColCount = ColCount(); - sal_uInt32 nColWidth = 0; - - for( sal_uInt16 nColId=1; nColId<=nColCount; nColId++ ) - { - nColWidth = static_cast<OQueryController*>(getDesignView()->getController())->getColWidth( nColId ); - - if( nColWidth == 0) - nColWidth = DEFAULT_SIZE; - SetColumnWidth( nColId, nColWidth ); - } -} - -//------------------------------------------------------------------------------ void OSelectionBrowseBox::SetColWidth(sal_uInt16 nColId, long nNewWidth) { DBG_CHKTHIS(OSelectionBrowseBox,NULL); |