diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-05-05 13:53:47 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-05-05 13:53:47 +0000 |
commit | 803aa4dab137d713d31ffe2e9b103f3f51cca01a (patch) | |
tree | b2d59d23a2d8487161ee77131bdc0ac196484c18 /dbaccess/source/ui/app/AppSwapWindow.cxx | |
parent | 64d123ca8e664090544b87a4ac6e75b368b6b512 (diff) |
INTEGRATION: CWS dba30beta1 (1.14.20); FILE MERGED
2008/04/25 09:42:04 oj 1.14.20.1: #i87582#
Diffstat (limited to 'dbaccess/source/ui/app/AppSwapWindow.cxx')
-rw-r--r-- | dbaccess/source/ui/app/AppSwapWindow.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dbaccess/source/ui/app/AppSwapWindow.cxx b/dbaccess/source/ui/app/AppSwapWindow.cxx index be3729f1d820..130ca7836410 100644 --- a/dbaccess/source/ui/app/AppSwapWindow.cxx +++ b/dbaccess/source/ui/app/AppSwapWindow.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: AppSwapWindow.cxx,v $ - * $Revision: 1.14 $ + * $Revision: 1.15 $ * * This file is part of OpenOffice.org. * @@ -204,9 +204,10 @@ IMPL_LINK(OApplicationSwapWindow, OnContainerSelectHdl, SvtIconChoiceCtrl*, _pCo SvxIconChoiceCtrlEntry* pEntry = _pControl->GetSelectedEntry( nPos ); ElementType eType = E_NONE; if ( pEntry ) + { eType = *static_cast<ElementType*>(pEntry->GetUserData()); - - onContainerSelected( eType ); + onContainerSelected( eType ); // i87582 + } return 1L; } |