diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-06-27 11:23:54 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-06-27 11:23:54 +0000 |
commit | 03aceed03509d3e7d440b6d3dffd85d1a0c6e06d (patch) | |
tree | 22828931bc7f5d0c92e72303e6db3c50a44591dd /toolkit | |
parent | 49668d51c640b52fdd470b557f55898b639dcd58 (diff) |
INTEGRATION: CWS awttree01 (1.29.6); FILE MERGED
2006/12/01 06:19:33 cl 1.29.6.1: implement a tree control api
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/helper/unowrapper.cxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/toolkit/source/helper/unowrapper.cxx b/toolkit/source/helper/unowrapper.cxx index fd4557fcbf78..0e8cf01617d6 100644 --- a/toolkit/source/helper/unowrapper.cxx +++ b/toolkit/source/helper/unowrapper.cxx @@ -4,9 +4,9 @@ * * $RCSfile: unowrapper.cxx,v $ * - * $Revision: 1.29 $ + * $Revision: 1.30 $ * - * last change: $Author: obo $ $Date: 2006-09-16 12:23:44 $ + * last change: $Author: hr $ $Date: 2007-06-27 12:23:54 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -201,7 +201,12 @@ void UnoWrapper::SetWindowInterface( Window* pWindow, ::com::sun::star::uno::Ref DBG_ASSERT( pVCLXWindow, "SetComponentInterface - unsupported type" ); if ( pVCLXWindow ) { - DBG_ASSERT( !pWindow->GetWindowPeer(), "UnoWrapper::SetWindowInterface: there already *is* a WindowInterface for this window!" ); + if( pWindow->GetWindowPeer() ) + { + int i = 0; + i++; + // DBG_ERROR( "UnoWrapper::SetWindowInterface: there already *is* a WindowInterface for this window!" ); + } pVCLXWindow->SetWindow( pWindow ); pWindow->SetWindowPeer( xIFace, pVCLXWindow ); } |