From 20a5241249c53b3489175a13b14ddd86266dde42 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Tue, 21 Oct 2003 08:06:54 +0000 Subject: INTEGRATION: CWS formcelllinkage (1.6.94); FILE MERGED 2003/10/01 09:17:57 fs 1.6.94.1: #i18994# merging the changes from the CWS fs002 --- extensions/source/propctrlr/propertyeditor.cxx | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/extensions/source/propctrlr/propertyeditor.cxx b/extensions/source/propctrlr/propertyeditor.cxx index 6ffd8c5f4a41..bd9e9d215f0d 100644 --- a/extensions/source/propctrlr/propertyeditor.cxx +++ b/extensions/source/propctrlr/propertyeditor.cxx @@ -2,9 +2,9 @@ * * $RCSfile: propertyeditor.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2003-03-25 16:03:56 $ + * last change: $Author: obo $ $Date: 2003-10-21 09:06:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -364,6 +364,18 @@ namespace pcr return nVal; } + //------------------------------------------------------------------ + void OPropertyEditor::EnablePropertyLine( const ::rtl::OUString& _rEntryName, bool _bEnable ) + { + for ( USHORT i = 0; i < m_aTabControl.GetPageCount(); ++i ) + { + OBrowserPage* pPage = static_cast< OBrowserPage* >( m_aTabControl.GetTabPage( m_aTabControl.GetPageId( i ) ) ); + if ( pPage ) + pPage->getListBox()->EnablePropertyLine( _rEntryName, _bEnable ); + } + + } + //------------------------------------------------------------------ IBrowserControl* OPropertyEditor::GetPropertyControl(const ::rtl::OUString& rEntryName) { -- cgit