diff options
author | Oliver Bolte <obo@openoffice.org> | 2003-10-21 08:06:54 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2003-10-21 08:06:54 +0000 |
commit | 20a5241249c53b3489175a13b14ddd86266dde42 (patch) | |
tree | d5aa3432c23bc5f5d9388d40591500d16569eb61 | |
parent | eefa4034231ce3dca37c1501bf22c0f73aa783fe (diff) |
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
-rw-r--r-- | extensions/source/propctrlr/propertyeditor.cxx | 16 |
1 files 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 @@ -365,6 +365,18 @@ namespace pcr } //------------------------------------------------------------------ + 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) { // let the current page handle this |