diff options
author | Frank Schönheit <fs@openoffice.org> | 2001-12-21 10:42:57 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2001-12-21 10:42:57 +0000 |
commit | 3a5d8b30f0c9749bbd8c7ca255237e7aa4db75e4 (patch) | |
tree | 97988e800d7e8551db36fffacc7bff229d87a255 /svx/source/form/fmmodel.cxx | |
parent | 7d8ebb70b2848815aa2a945ae36347194a1f5d65 (diff) |
#95867# reverted the previous fix - concept has changed
Diffstat (limited to 'svx/source/form/fmmodel.cxx')
-rw-r--r-- | svx/source/form/fmmodel.cxx | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/svx/source/form/fmmodel.cxx b/svx/source/form/fmmodel.cxx index 9bfee316d977..f87189e33b4b 100644 --- a/svx/source/form/fmmodel.cxx +++ b/svx/source/form/fmmodel.cxx @@ -2,9 +2,9 @@ * * $RCSfile: fmmodel.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: fs $ $Date: 2001-12-18 14:12:11 $ + * last change: $Author: fs $ $Date: 2001-12-21 11:42:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -419,23 +419,6 @@ void FmFormModel::SetAutoControlFocus( sal_Bool _bAutoControlFocus ) } //------------------------------------------------------------------------ -sal_Bool FmFormModel::containsActiveCode( const String& _rScriptType ) const -{ - sal_Bool bContainsActiveCode = sal_False; - - // loop through all our pages - USHORT nPageCount = GetPageCount( ); - for ( USHORT i=0; i<nPageCount && !bContainsActiveCode; ++i ) - { - const FmFormPage* pPage = PTR_CAST( FmFormPage, GetPage( i ) ); - if ( pPage && pPage->containsActiveCode( _rScriptType ) ) - bContainsActiveCode = sal_True; - } - - return bContainsActiveCode; -} - -//------------------------------------------------------------------------ void FmFormModel::SetObjectShell( SfxObjectShell* pShell ) { #ifndef SVX_LIGHT |