summaryrefslogtreecommitdiff
path: root/toolkit/source/helper/unowrapper.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-08-15 09:31:01 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-08-15 09:31:01 +0000
commit68df640072af7052f05f138d3e75f208caaaf30f (patch)
tree32a8d0cac477096a88c115a1c85ac54f78faafe0 /toolkit/source/helper/unowrapper.cxx
parentee84f6cb2b5fa13adcd71b1fbed33167dc0fcb47 (diff)
INTEGRATION: CWS dba30 (1.23.30); FILE MERGED
2006/07/19 09:49:57 fs 1.23.30.5: RESYNC: (1.26-1.27); FILE MERGED 2006/05/08 11:19:50 fs 1.23.30.4: RESYNC: (1.25-1.26); FILE MERGED 2005/11/23 09:02:25 fs 1.23.30.3: RESYNC: (1.24-1.25); FILE MERGED 2005/09/29 10:11:31 fs 1.23.30.2: RESYNC: (1.23-1.24); FILE MERGED 2005/08/22 10:22:10 fs 1.23.30.1: if this assertion were in earlier, we would have found #i50188# earlier ...
Diffstat (limited to 'toolkit/source/helper/unowrapper.cxx')
-rw-r--r--toolkit/source/helper/unowrapper.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/toolkit/source/helper/unowrapper.cxx b/toolkit/source/helper/unowrapper.cxx
index add1d11b843b..63eef63e4d95 100644
--- a/toolkit/source/helper/unowrapper.cxx
+++ b/toolkit/source/helper/unowrapper.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: unowrapper.cxx,v $
*
- * $Revision: 1.27 $
+ * $Revision: 1.28 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 23:06:26 $
+ * last change: $Author: hr $ $Date: 2006-08-15 10:31:01 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -198,6 +198,7 @@ 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!" );
pVCLXWindow->SetWindow( pWindow );
pWindow->SetWindowPeer( xIFace, pVCLXWindow );
}