diff options
author | Frank Schönheit <fs@openoffice.org> | 2002-09-10 07:46:54 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2002-09-10 07:46:54 +0000 |
commit | 0d72975e32e5f8667e94d669910432d6bbb6b36c (patch) | |
tree | b310edfd39ef6a1953957388969a65e175708c2a /sfx2/source/dialog/dinfdlg.cxx | |
parent | da3e4334332984522ebd7f045e29298ddbad6339 (diff) |
#102907# (on behalf of sleepybear@openoffice.org) for readonly docs, disable the controls
Diffstat (limited to 'sfx2/source/dialog/dinfdlg.cxx')
-rw-r--r-- | sfx2/source/dialog/dinfdlg.cxx | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index b647f589a9f8..5bb3b0b76fcc 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dinfdlg.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: svesik $ $Date: 2002-08-30 18:50:17 $ + * last change: $Author: fs $ $Date: 2002-09-10 08:46:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1061,6 +1061,25 @@ void SfxInternetPage::Reset( const SfxItemSet& rSet ) } ChangeState( eNewState ); + + // #102907# ------------------------ + if ( rInfo.IsReadOnly() ) + { + aRBNoAutoUpdate.Disable(); + aRBReloadUpdate.Disable(); + aRBForwardUpdate.Disable(); + aNFReload.Disable(); + aNFAfter.Disable(); + aEDForwardURL.Disable(); + aPBBrowseURL.Disable(); + aCBFrame.Disable(); + aFTEvery.Disable(); + aFTReloadSeconds.Disable(); + aFTAfter.Disable(); + aFTAfterSeconds.Disable(); + aFTURL.Disable(); + aFTFrame.Disable(); + } } //------------------------------------------------------------------------ |