diff options
author | Niklas Nebel <nn@openoffice.org> | 2001-04-05 15:12:35 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2001-04-05 15:12:35 +0000 |
commit | 2a5cdea968ff95752a6def8cb7ea22bbfdcc9360 (patch) | |
tree | 4e4658891655b33b6a1742923ee05d0d3a0e9967 /sc/source/ui/optdlg | |
parent | b95ea03adf7c7e82a40185c8c4c60c830c3b2683 (diff) |
#85793# pLocalOptions no longer used in LayoutOptions
Diffstat (limited to 'sc/source/ui/optdlg')
-rw-r--r-- | sc/source/ui/optdlg/tpview.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sc/source/ui/optdlg/tpview.cxx b/sc/source/ui/optdlg/tpview.cxx index f12aa94e2..025a754aa 100644 --- a/sc/source/ui/optdlg/tpview.cxx +++ b/sc/source/ui/optdlg/tpview.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tpview.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: os $ $Date: 2001-03-28 13:27:35 $ + * last change: $Author: nn $ $Date: 2001-04-05 16:12:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -468,8 +468,7 @@ ScTpLayoutOptions::ScTpLayoutOptions( Window* pParent, aExpRefCB( this, ResId( CB_EXPREF )), aMarkHdrCB( this, ResId( CB_MARKHDR )), aUnitArr( ResId(ST_UNIT )), - pDoc(NULL), - pLocalOptions(0) + pDoc(NULL) { FreeResource(); SetExchangeSupport(); @@ -506,7 +505,6 @@ ScTpLayoutOptions::ScTpLayoutOptions( Window* pParent, ScTpLayoutOptions::~ScTpLayoutOptions() { - delete pLocalOptions; } /*-----------------11.01.97 10.53------------------- @@ -694,9 +692,6 @@ void ScTpLayoutOptions::Reset( const SfxItemSet& rCoreSet ) void ScTpLayoutOptions::ActivatePage( const SfxItemSet& rCoreSet) { - const SfxPoolItem* pItem; - if(SFX_ITEM_SET == rCoreSet.GetItemState(SID_SCVIEWOPTIONS, FALSE , &pItem)) - *pLocalOptions = ((const ScTpViewItem*)pItem)->GetViewOptions(); } /*-----------------11.01.97 12.46------------------- |