From d95d8d70a1190f5840397524a22f0f203a9150f9 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Thu, 22 May 2003 07:43:53 +0000 Subject: [PATCH] INTEGRATION: CWS uno4 (1.8.22); FILE MERGED 2003/05/15 14:40:16 tbe 1.8.22.1: #109067# Performance of Basic Dialog Editor is too slow --- basctl/source/dlged/dlgedview.cxx | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/basctl/source/dlged/dlgedview.cxx b/basctl/source/dlged/dlgedview.cxx index 7bef10c8eb9b..4827ebc12f0d 100644 --- a/basctl/source/dlged/dlgedview.cxx +++ b/basctl/source/dlged/dlgedview.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dlgedview.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: vg $ $Date: 2003-03-26 12:49:59 $ + * last change: $Author: vg $ $Date: 2003-05-22 08:43:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -80,10 +80,6 @@ #include #endif -#ifndef _BASCTL_PROPBRW_HXX -#include "propbrw.hxx" -#endif - #include #include @@ -109,15 +105,12 @@ void DlgEdView::MarkListHasChanged() { SdrView::MarkListHasChanged(); - BasicIDEShell* pIDEShell = IDE_DLL()->GetShell(); - SfxViewFrame* pViewFrame = pIDEShell ? pIDEShell->GetViewFrame() : NULL; - SfxChildWindow* pChildWin = pViewFrame ? pViewFrame->GetChildWindow(SID_SHOW_PROPERTYBROWSER) : NULL; - if( pChildWin ) - ((PropBrw*)(pChildWin->GetWindow()))->Update( this ); - DlgEdHint aHint( DLGED_HINT_SELECTIONCHANGED ); if ( pDlgEditor ) + { pDlgEditor->Broadcast( aHint ); + pDlgEditor->UpdatePropertyBrowserDelayed(); + } } //----------------------------------------------------------------------------