diff options
author | Pascal Junck <pjunck@openoffice.org> | 2004-10-27 12:08:38 +0000 |
---|---|---|
committer | Pascal Junck <pjunck@openoffice.org> | 2004-10-27 12:08:38 +0000 |
commit | 9b965910d67d09aa806f61d8c0d0023a7c3786de (patch) | |
tree | 9b18096d6ee1d57b5650d68034a37f968481a0bb /dbaccess/source/ui/uno/ColumnControl.cxx | |
parent | e265df9408d811e40e75cb9649980dda54fa53e8 (diff) |
INTEGRATION: CWS dbwizard1 (1.2.40); FILE MERGED
2004/10/22 12:52:47 oj 1.2.40.1: #i33924# new property for the edit width
Diffstat (limited to 'dbaccess/source/ui/uno/ColumnControl.cxx')
-rw-r--r-- | dbaccess/source/ui/uno/ColumnControl.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dbaccess/source/ui/uno/ColumnControl.cxx b/dbaccess/source/ui/uno/ColumnControl.cxx index 0e70719e3..d313f4d9c 100644 --- a/dbaccess/source/ui/uno/ColumnControl.cxx +++ b/dbaccess/source/ui/uno/ColumnControl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ColumnControl.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: kz $ $Date: 2004-05-19 13:56:37 $ + * last change: $Author: pjunck $ $Date: 2004-10-27 13:08:38 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -141,7 +141,10 @@ void SAL_CALL OColumnControl::createPeer(const Reference< XToolkit >& rToolkit, Reference<XConnection> xCon(xProp->getPropertyValue(PROPERTY_ACTIVECONNECTION),UNO_QUERY); pPeer->setConnection(xCon); Reference<XPropertySet> xColumn(xProp->getPropertyValue(PROPERTY_COLUMN),UNO_QUERY); - pPeer->setColumn(xColumn); + pPeer->setColumn(xColumn); + sal_Int32 nWidth = 50; + xProp->getPropertyValue(PROPERTY_EDIT_WIDTH) >>= nWidth; + pPeer->setEditWidth(nWidth); } if (aComponentInfos.bVisible) |