diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-03-06 18:14:10 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-03-06 18:14:10 +0000 |
commit | 3a9b056f652e96eea21170b3670c5e940a79bd91 (patch) | |
tree | 2dec0e5560baaf094d45023fd3c98ef7a2a51950 /basctl | |
parent | 9aef3e1507e96e12f9fe1db8f57f7f2b04777df7 (diff) |
INTEGRATION: CWS odbmacros2 (1.52.20); FILE MERGED
2008/02/25 13:28:14 fs 1.52.20.1: #i86427# PropBrw::Update changed signature
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/dlged/dlged.cxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index 34a2882c9406..c8591b95e3c0 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -4,9 +4,9 @@ * * $RCSfile: dlged.cxx,v $ * - * $Revision: 1.52 $ + * $Revision: 1.53 $ * - * last change: $Author: vg $ $Date: 2007-08-28 09:51:02 $ + * last change: $Author: kz $ $Date: 2008-03-06 19:14:10 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -755,12 +755,15 @@ IMPL_LINK( DlgEditor, PaintTimeout, Timer *, EMPTYARG ) IMPL_LINK( DlgEditor, MarkTimeout, Timer *, EMPTYARG ) { 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( pDlgEdView ); + if ( !pChildWin ) + return 0L; - return 0; + ((PropBrw*)(pChildWin->GetWindow()))->Update( pIDEShell ); + + return 1; } //---------------------------------------------------------------------------- |